mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #19527: Fixed tests with defined COUNT_ALLOCS.
This commit is contained in:
commit
bae75cf3fe
11 changed files with 29 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue