mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
This avoids the following error if DeprecationWarnings are ignored.
======================================================================
ERROR: test_entry_points_by_index (test.test_importlib.test_metadata_api.APITests)
Prior versions of Distribution.entry_points would return a
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/Python-3.10.0b3/Lib/test/test_importlib/test_metadata_api.py", line 145, in test_entry_points_by_index
expected = next(iter(caught))
StopIteration
----------------------------------------------------------------------
Ran 1402 tests in 2.125s
FAILED (errors=1, skipped=18, expected failures=1)
|
||
|---|---|---|
| .. | ||
| builtin | ||
| data | ||
| data01 | ||
| data02 | ||
| data03 | ||
| extension | ||
| frozen | ||
| import_ | ||
| namespace_pkgs | ||
| namespacedata01 | ||
| partial | ||
| source | ||
| zipdata01 | ||
| zipdata02 | ||
| __init__.py | ||
| __main__.py | ||
| abc.py | ||
| fixtures.py | ||
| stubs.py | ||
| test_abc.py | ||
| test_api.py | ||
| test_files.py | ||
| test_lazy.py | ||
| test_locks.py | ||
| test_main.py | ||
| test_metadata_api.py | ||
| test_namespace_pkgs.py | ||
| test_open.py | ||
| test_path.py | ||
| test_pkg_import.py | ||
| test_read.py | ||
| test_reader.py | ||
| test_resource.py | ||
| test_spec.py | ||
| test_threaded_import.py | ||
| test_util.py | ||
| test_windows.py | ||
| test_zip.py | ||
| threaded_import_hangers.py | ||
| update-zips.py | ||
| util.py | ||