cpython/Lib/test/test_importlib
Hai Shi a3ec3ad9e2
bpo-40275: More lazy imports in test.support (GH-20131)
Make the the following imports lazy in test.support:

* bz2
* gzip
* lzma
* resource
* zlib

The following test.support decorators now need to be called
with parenthesis:

* @support.requires_bz2
* @support.requires_gzip
* @support.requires_lzma
* @support.requires_zlib

For example, "@requires_zlib" becomes "@requires_zlib()".
2020-05-19 00:02:57 +02:00
..
builtin
data
data01
data02
data03
extension bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738) 2020-03-17 18:09:46 +01:00
frozen
import_ bpo-38839: Fix some unused functions in tests (GH-17189) 2019-11-19 11:45:20 -08:00
namespace_pkgs
source bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627) 2020-03-09 12:57:53 +01:00
zipdata01
zipdata02
__init__.py
__main__.py
abc.py
fixtures.py Clean up compatibility code in importlib fixtures (#19156) 2020-04-15 13:55:43 -04:00
stubs.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
test_abc.py Unmark files as executable that can't actually be executed. (GH-15353) 2019-08-20 21:53:59 -07:00
test_api.py Fix typo in test_api.py. (GH-16119) 2019-09-13 18:27:59 +01:00
test_files.py bpo-39791: Add files() to importlib.resources (GH-19722) 2020-05-08 19:20:26 -04:00
test_lazy.py
test_locks.py
test_main.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
test_metadata_api.py bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840) 2019-09-10 14:53:31 +01:00
test_namespace_pkgs.py
test_open.py
test_path.py bpo-39791: Add files() to importlib.resources (GH-19722) 2020-05-08 19:20:26 -04:00
test_pkg_import.py bpo-19696: Replace deprecated method in "test_import_pkg.py" (GH-14466) 2019-07-03 11:22:40 -07:00
test_read.py
test_resource.py
test_spec.py
test_threaded_import.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
test_util.py bpo-37830: Fix compilation of break and continue in finally. (GH-15320) 2019-08-24 13:11:52 +03:00
test_windows.py
test_zip.py bpo-40275: More lazy imports in test.support (GH-20131) 2020-05-19 00:02:57 +02:00
threaded_import_hangers.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
util.py bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) 2020-02-28 17:28:37 -08:00