[New-bugs-announce] [issue34181] Lib/test/test_typing.py failed when ran as a script

Serhiy Storchaka report at bugs.python.org
Sat Jul 21 13:23:21 EDT 2018


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

$ ./python Lib/test/test_typing.py
...
======================================================================
FAIL: test_repr (__main__.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_typing.py", line 654, in test_repr
    "<class 'test.test_typing.SimpleMapping'>")
AssertionError: "<class '__main__.SimpleMapping'>" != "<class 'test.test_typing.SimpleMapping'>"
- <class '__main__.SimpleMapping'>
?          ^^^  ^^
+ <class 'test.test_typing.SimpleMapping'>
?         +++++++++ ^^^  ^


----------------------------------------------------------------------

----------
assignee: serhiy.storchaka
components: Tests
messages: 322109
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Lib/test/test_typing.py failed when ran as a script
type: behavior
versions: Python 3.7, Python 3.8

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


More information about the New-bugs-announce mailing list