summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_warnings
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-03 19:27:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-03 19:27:26 (GMT)
commita793037d803abf098d172f686e2b95d27863c54d (patch)
treeb1723194b3e1d1584f16c5a8b811f93c8a34fb1d /Lib/test/test_warnings
parentaf65872da2b679e4b1876412aab6a731f82a469f (diff)
downloadcpython-a793037d803abf098d172f686e2b95d27863c54d.zip
cpython-a793037d803abf098d172f686e2b95d27863c54d.tar.gz
cpython-a793037d803abf098d172f686e2b95d27863c54d.tar.bz2
Issue #19527: Fixed tests with defined COUNT_ALLOCS.
Diffstat (limited to 'Lib/test/test_warnings')
-rw-r--r--Lib/test/test_warnings/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_warnings/__init__.py b/Lib/test/test_warnings/__init__.py
index 72fcc73..a33404e 100644
--- a/Lib/test/test_warnings/__init__.py
+++ b/Lib/test/test_warnings/__init__.py
@@ -990,6 +990,7 @@ class BootstrapTest(unittest.TestCase):
class FinalizationTest(unittest.TestCase):
+ @support.requires_type_collecting
def test_finalization(self):
# Issue #19421: warnings.warn() should not crash
# during Python finalization