New submission from STINNER Victor <vstin...@python.org>:

On Windows, test_importlib logs "DeprecationWarning: 
WindowsRegistryFinder.find_module() is deprecated (...)". Example:

vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>python -m test -v 
test_importlib 
(...)
test_find_module_missing 
(test.test_importlib.test_windows.Frozen_WindowsRegistryFinderTests) ... 
<frozen importlib._bootstrap_external>:848: DeprecationWarning: 
WindowsRegistryFinder.find_module() is deprecated and slated for 
removal in Python 3.12; use find_spec() instead
ok

(...)

test_find_module_missing 
(test.test_importlib.test_windows.Source_WindowsRegistryFinderTests) ... 
C:\vstinner\python\master\lib\importlib\_bootstrap_external.py:848: 
DeprecationWarning: WindowsRegistryFinder.find_module() is de
precated and slated for removal in Python 3.12; use find_spec() instead
  _warnings.warn("WindowsRegistryFinder.find_module() is deprecated and "
ok

(...)

----------
components: Tests, Windows
messages: 391192
nosy: brett.cannon, paul.moore, steve.dower, tim.golden, vstinner, xtreak, 
zach.ware
priority: normal
severity: normal
status: open
title: [Windows] test_importlib logs: DeprecationWarning: 
WindowsRegistryFinder.find_module() is deprecated and slated for removal in 
Python 3.12; use find_spec() instead
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43864>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to