diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-03 19:30:49 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-03 19:30:49 (GMT) |
commit | bae75cf3fe975d21c0c20baa595d21ebeca54681 (patch) | |
tree | 5d1b8a52a7c505d5eacd37f8525ccb230776ba27 /Lib/test/test_threading.py | |
parent | 7e160ce356036bccda2608d9ee10bfe276dfa97a (diff) | |
parent | a793037d803abf098d172f686e2b95d27863c54d (diff) | |
download | cpython-bae75cf3fe975d21c0c20baa595d21ebeca54681.zip cpython-bae75cf3fe975d21c0c20baa595d21ebeca54681.tar.gz cpython-bae75cf3fe975d21c0c20baa595d21ebeca54681.tar.bz2 |
Issue #19527: Fixed tests with defined COUNT_ALLOCS.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r-- | Lib/test/test_threading.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index d6317c7..a4aa49f 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -3,7 +3,8 @@ Tests for the threading module. """ import test.support -from test.support import verbose, import_module, cpython_only +from test.support import (verbose, import_module, cpython_only, + requires_type_collecting) from test.support.script_helper import assert_python_ok, assert_python_failure import random @@ -987,6 +988,7 @@ class ThreadingExceptionTests(BaseTestCase): self.assertIn("ZeroDivisionError", err) self.assertNotIn("Unhandled exception", err) + @requires_type_collecting def test_print_exception_stderr_is_none_1(self): script = r"""if True: import sys |