summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_api.py
Commit message (Collapse)AuthorAgeFilesLines
* Way too many places create modules temporarily that never setBrett Cannon2013-02-031-6/+0
| | | | | | __loader__ for this test to succeed without a major changes. It also doesn't test the original issue of modules imported by Py_Initialize() having __loader__ set (the rest of the test covers that).
* pyexpat/xml.parsers.expat create their errors and model modules fromBrett Cannon2013-02-031-0/+4
| | | | | | scratch. This means they do not set __loader__ by default. This is acceptable under importlib/PEP 302 definitions, so relax the test that was trying to apply this universally.
* Issue #17098: Be more stringent of setting __loader__ on early importedBrett Cannon2013-02-011-0/+6
| | | | modules. Also made test more rigorous.
* Add a test for fix of issue #17098Brett Cannon2013-02-011-1/+12
|
* Issue #15502: Finish bringing importlib.abc in line with the currentBrett Cannon2012-08-101-3/+7
| | | | | | | | | state of the import system. Also make importlib.invalidate_caches() work with sys.meta_path instead of sys.path_importer_cache to completely separate the path-based import system from the overall import system. Patch by Eric Snow.
* Issue #15168: Move importlb.test to test.test_importlib.Brett Cannon2012-07-201-0/+183
This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.