This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients gvanrossum, levkivskyi, ned.deily, serhiy.storchaka, yselivanov
Date 2016-11-09.18:11:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478715075.72.0.607367709655.issue28649@psf.upfronthosting.co.za>
In-reply-to
Content
Wow. In default CPython branch, with no modifications, test_typing.py simply crashes in debug mode:

yury@ysmbp ~/dev/py/cpython $ ./python.exe -m test -R3:3 test_typing
Run tests sequentially
0:00:00 [1/1] test_typing
beginning 6 repetitions
123456
.test test_typing failed -- Traceback (most recent call last):
  File "/Users/yury/dev/py/cpython/Lib/test/test_typing.py", line 739, in test_generic_forvard_ref
    self.assertEqual(get_type_hints(foobar, globals(), locals()), {'x': List[List[T]]})
AssertionError: {'x': typing.List[typing.List[~T]]} != {'x': typing.List[typing.List[~T]]}
  {'x': typing.List[typing.List[~T]]}

test_typing failed

1 test failed:
    test_typing

Total duration: 1 sec
Tests result: FAILURE
History
Date User Action Args
2016-11-09 18:11:15yselivanovsetrecipients: + yselivanov, gvanrossum, ned.deily, serhiy.storchaka, levkivskyi
2016-11-09 18:11:15yselivanovsetmessageid: <1478715075.72.0.607367709655.issue28649@psf.upfronthosting.co.za>
2016-11-09 18:11:15yselivanovlinkissue28649 messages
2016-11-09 18:11:15yselivanovcreate