Message154354
> So the test needs to be fixed to call importlib.invalidate_caches()
> after creating the module.
That works. With issue14080.diff I can run the failing combination
without problems:
$ ./python -m test test_sqlite test_imp
[1/2] test_sqlite
test_sqlite skipped -- No module named '_sqlite3'
[2/2] test_imp
1 test OK.
1 test skipped:
test_sqlite
Those skips are all expected on linux.
[111339 refs]
Is invalidate_caches() a transitional measure until importlib
is fully integrated? |
|
Date |
User |
Action |
Args |
2012-02-26 14:37:14 | skrah | set | recipients:
+ skrah, brett.cannon, ncoghlan, pitrou, nadeem.vawda, eric.snow |
2012-02-26 14:37:14 | skrah | set | messageid: <1330267034.63.0.178696916472.issue14080@psf.upfronthosting.co.za> |
2012-02-26 14:37:14 | skrah | link | issue14080 messages |
2012-02-26 14:37:13 | skrah | create | |
|