cpython/Lib/test/test_importlib
Christian Heimes deeaac49e2
bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986)
- Add requires_fork and requires_subprocess to more tests
- Skip extension import tests if dlopen is not available
- Don't assume that _testcapi is a shared extension
- Skip a lot of socket tests that don't work on Emscripten
- Skip mmap tests, mmap emulation is incomplete
- venv does not work yet
- Cannot get libc from executable

The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped).
2022-03-22 03:04:36 -07:00
..
builtin bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
data bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150) 2021-12-16 15:49:42 -05:00
data01
data02
data03
extension bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
frozen bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
import_ bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
namespace_pkgs
namespacedata01 bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
partial bpo-43517: Fix false positive in detection of circular imports (#24895) 2021-03-20 20:07:44 +01:00
resources bpo-46125: Refactor tests to test traversable API directly. Includes changes from importlib_resources 5.4.0. (GH-30189) 2021-12-18 21:28:49 -05:00
source bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
zipdata01 bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
zipdata02 bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
__init__.py
__main__.py
abc.py
fixtures.py bpo-46474: Apply changes from importlib_metadata 4.10.0 (GH-30802) 2022-01-22 21:39:00 -05:00
stubs.py
test_abc.py bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
test_api.py bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
test_compatibilty_files.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_contents.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_files.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_lazy.py bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
test_locks.py bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
test_main.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_metadata_api.py bpo-47004: Sync with importlib_metadata 4.11.3. (#31854) 2022-03-13 15:53:29 -04:00
test_namespace_pkgs.py bpo-45703: Invalidate _NamespacePath cache on importlib.invalidate_ca… (GH-29384) 2021-11-23 07:38:02 -08:00
test_open.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_path.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_pkg_import.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181) 2021-04-05 13:11:23 +09:00
test_read.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_reader.py bpo-38693: Prefer f-strings in importlib.resources (importlib_resources 5.0.6). (GH-26387) 2021-05-26 13:16:11 -07:00
test_resource.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
test_spec.py bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
test_threaded_import.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_util.py bpo-46425: fix direct invocation of `test_importlib` (GH-30682) 2022-01-22 18:05:05 +02:00
test_windows.py bpo-46616: Ensures test_importlib.test_windows cleans up registry keys after completion (GH-31086) 2022-02-02 19:54:27 +00:00
test_zip.py bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799) 2022-01-22 21:38:26 -05:00
threaded_import_hangers.py
update-zips.py bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
util.py bpo-44771: Apply changes from importlib_resources 5.2.1 (GH-27436) 2021-07-29 21:05:05 -04:00