summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_traceback.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-03 19:30:49 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-03 19:30:49 (GMT)
commitbae75cf3fe975d21c0c20baa595d21ebeca54681 (patch)
tree5d1b8a52a7c505d5eacd37f8525ccb230776ba27 /Lib/test/test_traceback.py
parent7e160ce356036bccda2608d9ee10bfe276dfa97a (diff)
parenta793037d803abf098d172f686e2b95d27863c54d (diff)
downloadcpython-bae75cf3fe975d21c0c20baa595d21ebeca54681.zip
cpython-bae75cf3fe975d21c0c20baa595d21ebeca54681.tar.gz
cpython-bae75cf3fe975d21c0c20baa595d21ebeca54681.tar.bz2
Issue #19527: Fixed tests with defined COUNT_ALLOCS.
Diffstat (limited to 'Lib/test/test_traceback.py')
-rw-r--r--Lib/test/test_traceback.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index 5e4b6a2..787409c 100644
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -178,6 +178,7 @@ class SyntaxTracebackCases(unittest.TestCase):
# Issue #18960: coding spec should have no effect
do_test("x=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