summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/source
Commit message (Collapse)AuthorAgeFilesLines
* Tests for case-senstivity were not being skipped for darwin when installed on aBrett Cannon2009-05-114-35/+26
| | | | | | | case-sensitive filesystems -- which is not the default case. Along the way also fixed the skipping of tests when sys.dont_write_bytecode is true. Closes issue #5442 again.
* importlib.test.source.test_abc_loader was making a bad assumption that all fileBrett Cannon2009-04-021-16/+21
| | | | | | paths used '/' as a path separator. Fixes issue #5646.
* Make a test in importlib have a more robust test value.Brett Cannon2009-04-021-1/+1
|
* Give a more informative message on an importlib test upon failure.Brett Cannon2009-04-021-1/+3
|
* Finish properly hiding importlib implementation code.Brett Cannon2009-03-125-19/+25
|
* Implement get_source for importlib.abc.PyLoader using source_path and get_data.Brett Cannon2009-03-101-9/+32
|
* Introduce importlib.abc. The module contains various ABCs related to importsBrett Cannon2009-03-093-96/+404
| | | | | | | (mostly stuff specified by PEP 302). There are two ABCs, PyLoader and PyPycLoader, which help with implementing source and source/bytecode loaders by implementing load_module in terms of other methods. This removes a lot of gritty details loaders typically have to worry about.
* Make importlib.test.source.util.write_bytecode reset sys.dont_write_bytecode.Brett Cannon2009-03-091-1/+5
|
* Refactor source and bytecode file loaders in importlib so that thereBrett Cannon2009-02-212-13/+13
| | | | are source-only and source/bytecode loaders.
* Separate out finder for source and source/bytecode.Brett Cannon2009-02-212-2/+2
|
* Do some cleanup in importlib:Brett Cannon2009-02-213-3/+3
| | | | | | | + Ditch using arguments to super(). + Ditch subclassing from object directly. + Move directory check out of chaining path hook to file path hook/finder. + Rename some classes to better reflect they are finders, not importers.
* Move importlib completely over to using rpartition and accepting the emptyBrett Cannon2009-02-071-1/+1
| | | | string for top-level modules.
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-016-9/+6
|
* Split out support code that is specific to source tests out ofBrett Cannon2009-02-016-30/+123
| | | | importlib.test.support to importlib.test.source.util.
* Move source loader tests (including reload tests) over toBrett Cannon2009-02-012-73/+72
| | | | importlib.test.abc.LoaderTests.
* Merge testing ABCs for importlib into importlib.test.abc.Brett Cannon2009-01-301-2/+2
|
* Tests of case-sensitivity were being executed on OSs which did not have aBrett Cannon2009-01-181-2/+1
| | | | | | case-insensitive file system, leading to test failures. This was due to using the TestCase objects directly instead of the guard in the test_main() function. Move over to a class decorator instead to control if the tests should be run.
* Add initial implementation of importlib. See the NOTES files for what isBrett Cannon2009-01-187-0/+617
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.