You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two bugs in robot.utils.Importer. Neither of them affect usage with Robot, but can be encountered if the Importer is used programmatically:
Using it with relative Path objects fails with a TypeError. With strings paths must be absolute to reliably separate paths from modules and that cannot be changed. We could also explicitly reject relative Path objects, but because we know they are paths, we can as well accept them.
Using Importer without a logger failed with an AttributeError if a module was removed from sys.modules as part of the importing process.
The text was updated successfully, but these errors were encountered:
There are two bugs in
robot.utils.Importer
. Neither of them affect usage with Robot, but can be encountered if theImporter
is used programmatically:Using it with relative
Path
objects fails with aTypeError
. With strings paths must be absolute to reliably separate paths from modules and that cannot be changed. We could also explicitly reject relativePath
objects, but because we know they are paths, we can as well accept them.Using Importer without a logger failed with an
AttributeError
if a module was removed fromsys.modules
as part of the importing process.The text was updated successfully, but these errors were encountered: