summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/util.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. ↵Carl Meyer2018-06-161-0/+11
| | | | | | | | | | | | | | | (GH-6834) In some development setups it is inconvenient or impossible to write bytecode caches to the code tree, but the bytecode caches are still useful. The PYTHONPYCACHEPREFIX environment variable allows specifying an alternate location for cached bytecode files, within which a directory tree mirroring the code tree will be created. This cache tree is then used (for both reading and writing) instead of the local `__pycache__` subdirectory within each source directory. Exposed at runtime as sys.pycache_prefix (defaulting to None), and can be set from the CLI as "-X pycache_prefix=path". Patch by Carl Meyer.
* bpo-33755: Fix importlib.resources isolation tests (#7412)Barry Warsaw2018-06-051-0/+4
|
* Implement the get_resource_reader() API for file system imports (#5168)Barry Warsaw2018-01-151-0/+3
|
* bpo-32248 - Implement importlib.resources (#4911)Barry Warsaw2017-12-301-0/+163
| | | | Port importlib_resources to importlib.resources
* Merge for #27083Brett Cannon2016-07-161-0/+9
|\
| * Fix regressions introduced by fixes for issue #27083.Brett Cannon2016-07-161-0/+9
| |
* | Issue #26896: Disambiguate uses of "importer" with "finder".Brett Cannon2016-07-081-1/+0
|/ | | | Thanks to Oren Milman for the patch.
* Issue #24192: Fix namespace package imports.Eric Snow2015-05-161-1/+1
|
* Issue #21503: Use test_both() consistently in test_importlib.Eric Snow2014-05-161-12/+30
|
* Issue #19721: Consolidate test_importlib utility code into a singleBrett Cannon2014-05-091-5/+142
| | | | module.
* Issue 19944: Fix importlib.find_spec() so it imports parents as needed.Eric Snow2014-01-251-1/+33
| | | | The function is also moved to importlib.util.
* Issue #19712: Update test.test_importlib.import_ to test/use PEP 451Brett Cannon2013-12-061-8/+40
| | | | where appropriate.
* Make test_importlib output easier to trace back to the failing testBrett Cannon2013-11-221-0/+1
| | | | class.
* Issue #16803: Move test_importlib.test_util to use both frozen andBrett Cannon2013-10-181-0/+11
| | | | source code.
* Issue #16803: Run test.test_importlib.test_abc under bothBrett Cannon2013-10-041-0/+9
| | | | _frozen_importlib and source.
* Issue #17177: stop using imp in test_importlibBrett Cannon2013-06-151-2/+2
|
* Issue #15168: Move importlb.test to test.test_importlib.Brett Cannon2012-07-201-0/+140
This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.