New submission from Irit Katriel <[email protected]>:
% ./python.exe -E -We -m test -v test_importlib
....
======================================================================
ERROR: test_entry_points_groups_get
(test.test_importlib.test_metadata_api.APITests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/iritkatriel/src/cpython-1/Lib/test/test_importlib/test_metadata_api.py",
line 165, in test_entry_points_groups_get
entry_points().get('missing', 'default') == 'default'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/importlib/metadata/__init__.py",
line 400, in get
self._warn()
^^^^^^^^^^^^
DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
======================================================================
ERROR: test_entry_points_groups_getitem
(test.test_importlib.test_metadata_api.APITests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/iritkatriel/src/cpython-1/Lib/test/test_importlib/test_metadata_api.py",
line 155, in test_entry_points_groups_getitem
entry_points()['entries'] == entry_points(group='entries')
~~~~~~~~~~~~~~^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/importlib/metadata/__init__.py",
line 396, in __getitem__
self._warn()
^^^^^^^^^^^^
DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
----------------------------------------------------------------------
----------
components: Tests
messages: 398598
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: test_importlib uses deprecated SelectableGroups interface
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44784>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com