summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/source/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 76113-76114 via svnmerge fromBrett Cannon2009-11-051-13/+10
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76113 | brett.cannon | 2009-11-04 17:17:22 -0800 (Wed, 04 Nov 2009) | 3 lines importlib.test.source.util referenced variables in the 'finally' part of a try/finally which may not have been set. ........ r76114 | brett.cannon | 2009-11-04 17:26:57 -0800 (Wed, 04 Nov 2009) | 6 lines Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places source files for tests. Allows for concurrent execution of the tests by preventing various executions from trampling each other. Closes issue #7248. ........
* Tests for case-senstivity were not being skipped for darwin when installed on aBrett Cannon2009-05-111-18/+9
| | | | | | | 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.
* Introduce importlib.abc. The module contains various ABCs related to importsBrett Cannon2009-03-091-0/+14
| | | | | | | (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
|
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-011-2/+2
|
* Split out support code that is specific to source tests out ofBrett Cannon2009-02-011-0/+88
importlib.test.support to importlib.test.source.util.