cpython/Lib/test/test_importlib
Victor Stinner 743e3572ee
gh-109974: Fix more threading lock_tests race conditions (#110089)
* Add context manager on Bunch class.
* Bunch now catchs exceptions on executed functions and re-raise them
  at __exit__() as an ExceptionGroup.
* Rewrite BarrierProxy.test_default_timeout(). Use a single thread.
  Only check that barrier.wait() blocks for at least default timeout
  seconds.
* test_with(): inline _with() function.
2023-09-29 12:21:18 +00:00
..
builtin gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
data
extension gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
frozen gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
import_ gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
namespace_pkgs
partial
resources gh-97930: Apply changes from importlib_resources 5.12. (GH-102010) 2023-02-18 16:29:22 -05:00
source gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
__init__.py
__main__.py
_context.py Sync with importlib_metadata 6.5 (GH-103584) 2023-04-20 22:12:48 -04:00
_path.py Sync with importlib_metadata 6.5 (GH-103584) 2023-04-20 22:12:48 -04:00
abc.py
fixtures.py gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -07:00
stubs.py
test_abc.py gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -07:00
test_api.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_lazy.py
test_locks.py gh-109974: Fix more threading lock_tests race conditions (#110089) 2023-09-29 12:21:18 +00:00
test_main.py gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
test_metadata_api.py gh-103661: Apply bugfix from importlib_metadata 6.5.1 and restore test. (#103681) 2023-04-22 13:52:51 -04:00
test_namespace_pkgs.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_pkg_import.py
test_spec.py gh-97850: Remove deprecated functions from `importlib.utils` (#97898) 2022-10-06 17:57:10 -07:00
test_threaded_import.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_util.py gh-105873: Make `_xxsubinterpreters` use exception type name in shared exception (#105874) 2023-07-08 08:44:50 +00:00
test_windows.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_zip.py
threaded_import_hangers.py
util.py gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -07:00