summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/test_api.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13591: import_module potentially imports a module twice.Meador Inge2011-12-151-0/+17
|
* Fix a spelling mistake in a comment.Brett Cannon2010-07-031-1/+1
|
* Move over to using assertRaises as a context manager for importlib tests.Brett Cannon2009-08-271-1/+2
| | | | | Obviously one shouldn't do whole sale conversions like this, but I was already going through the test code and I was bored at the airport.
* Add a test for importlib.import_module.Brett Cannon2009-03-041-1/+10
|
* Rewrite the code implementing __import__ for importlib. Now it is much simplerBrett Cannon2009-02-071-2/+6
| | | | | | | | | and relies much more on meta path finders to abstract out various parts of import. As part of this the semantics for import_module tightened up and now follow __import__ much more closely (biggest thing is that the 'package' argument must now already be imported, else a SystemError is raised).
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-011-9/+9
|
* Add initial implementation of importlib. See the NOTES files for what isBrett Cannon2009-01-181-0/+62
planned for the package. There are no docs yet, but they are coming once the API for the first new function, importlib.import_module() is finalized.