[New-bugs-announce] [issue42748] test_asdl_parser: load_module() method is deprecated

Batuhan Taskaya report at bugs.python.org
Sat Dec 26 02:25:53 EST 2020


New submission from Batuhan Taskaya <isidentical at gmail.com>:

Running test_asdl_parser raises a deprecation warning:
0:00:26 load avg: 1.05 [ 23/426] test_asdl_parser
<frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead

probably related with this line:
https://github.com/python/cpython/blob/ea251806b8dffff11b30d2182af1e589caf88acf/Lib/test/test_asdl_parser.py#L29

----------
messages: 383795
nosy: BTaskaya
priority: normal
severity: normal
status: open
title: test_asdl_parser: load_module() method is deprecated

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42748>
_______________________________________


More information about the New-bugs-announce mailing list