[issue19527] Test failures with COUNT_ALLOCS

Robert Kuska report at bugs.python.org
Wed Dec 2 05:03:31 EST 2015


Robert Kuska added the comment:

With Python-3.5 and COUNT_ALLOCS enabled following new tests fail also:


FAIL: test_is_finalizing (test.test_sys.SysModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.5.0/Lib/test/test_sys.py", line 767, in test_is_finalizing
    self.assertEqual(stdout.rstrip(), b'True')
AssertionError: b'' != b'True'
---------------------------------

======================================================================
FAIL: test_print_traceback_at_exit (test.test_traceback.SyntaxTracebackCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.5.0/Lib/test/test_traceback.py", line 210, in test_print_traceback_at_exit
    self.assertEqual(stderr.splitlines(), expected)
AssertionError: Lists differ: [] != [b'Traceback (most recent call last):', b'[75 chars]ero']
Second list contains 3 additional elements.
First extra element 0:
b'Traceback (most recent call last):'
- []
+ [b'Traceback (most recent call last):',
+  b'  File "<string>", line 8, in __init__',
+  b'ZeroDivisionError: division by zero']

----------
nosy: +rkuska

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19527>
_______________________________________


More information about the Python-bugs-list mailing list