New submission from Matheus Castanho <[email protected]>:
test_typing on branch 3.10 is failing after GH-30770 [1]
test test_typing failed -- Traceback (most recent call last):
File
"/home/mscastanho/AT/python-next-220124/opt/at-next-16.0-0-alpha/lib64/python3.10/test/test_typing.py",
line 3917, in setUpClass
UserId = NewType('UserId', int)
NameError: name 'NewType' is not defined
Looks like `from typing import NewType` is not needed anymore in this file on
the main branch (where this commit originated), but still is for 3.10.
[1] https://github.com/python/cpython/pull/30770
----------
components: Tests
messages: 411587
nosy: mscastanho
priority: normal
severity: normal
status: open
title: test_typing failing on branch 3.10
versions: Python 3.10
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46519>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com