summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/util.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-95971: Turn @writes_bytecode_files to skip when not running (GH-95972)Miss Islington (bot)2022-10-151-1/+1
| | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 07b5c4699e64eb30c3bdcb1275c167e675d37423) Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
* bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181)Inada Naoki2021-04-051-3/+3
| | | | | | * Fix test_shutil * Fix test_imp * Fix test_import * Fix test_importlib
* bpo-40275: Use new test.support helper submodules in tests (GH-21727)Hai Shi2020-08-041-5/+6
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21314)Hai Shi2020-07-061-2/+3
|
* bpo-39769: Fix compileall ddir for subpkgs. (GH-18676)Gregory P. Smith2020-02-291-0/+11
| | | | | | | | | | Fix compileall.compile_dir() ddir= behavior on sub-packages. Fixes compileall.compile_dir's ddir parameter and compileall command line flag `-d` to no longer write the wrong pathname to the generated pyc file for submodules beneath the root of the directory tree being compiled. This fixes a regression introduced with Python 3.5. Also marks the _new_ in 3.9 from PR #16012 parameters to compile_dir as keyword only (as that is the only way they will be used) and fixes an omission of them in one place from the docs.
* Fix typos mostly in comments, docs and test names (GH-15209)Min ho Kim2019-08-301-1/+1
|
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
* 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.