Issue #19527: Fixed tests with defined COUNT_ALLOCS.

This commit is contained in:
Serhiy Storchaka 2016-07-03 22:27:26 +03:00
parent af65872da2
commit a793037d80
10 changed files with 26 additions and 6 deletions

View file

@ -178,6 +178,7 @@ class SyntaxTracebackCases(unittest.TestCase):
# Issue #18960: coding spec should has no effect
do_test("0\n# coding: GBK\n", "h\xe9 ho", 'utf-8', 5)
@support.requires_type_collecting
def test_print_traceback_at_exit(self):
# Issue #22599: Ensure that it is possible to use the traceback module
# to display an exception at Python exit