Message361366
The fix for bpo-17636 added support for falling back to sys.modules when a module isn't directly present on the module. But mock doesn't have the same behavior - it'll try the import, and then try to get the value off the object. If it's not there it just errors out.
Instead it should also consult sys.modules to be consistent with import semantics. |
|
Date |
User |
Action |
Args |
2020-02-04 20:27:49 | dino.viehland | set | recipients:
+ dino.viehland |
2020-02-04 20:27:49 | dino.viehland | set | messageid: <1580848069.21.0.869527016064.issue39551@roundup.psfhosted.org> |
2020-02-04 20:27:49 | dino.viehland | link | issue39551 messages |
2020-02-04 20:27:49 | dino.viehland | create | |
|