Karthikeyan Singaravelan <[email protected]> added the comment:
This change has introduced deprecation warning in tests
PYTHONWARNINGS=always ./python -Wall -X dev -m test.test_typing
........................................................................................................................................................................................................................s................................................................................................................................................................................................./home/karthikeyan/stuff/python/cpython/Lib/test/test_typing.py:4589:
DeprecationWarning: The kwargs-based syntax for TypedDict definitions is
deprecated in Python 3.11, will be removed in Python 3.13, and may not be
understood by third-party type checkers.
TypedDict('Emp', _fields={'name': str, 'id': int})
./home/karthikeyan/stuff/python/cpython/Lib/test/test_typing.py:4602:
DeprecationWarning: The kwargs-based syntax for TypedDict definitions is
deprecated in Python 3.11, will be removed in Python 3.13, and may not be
understood by third-party type checkers.
TypedDict('Hi', x=1)
........................................
----------------------------------------------------------------------
Ran 451 tests in 0.105s
OK (skipped=1)
----------
nosy: +xtreak
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46066>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com