summaryrefslogtreecommitdiff
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-03 22:27:26 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-03 22:27:26 +0300
commita793037d803abf098d172f686e2b95d27863c54d (patch)
treeb1723194b3e1d1584f16c5a8b811f93c8a34fb1d /Lib/test/test_io.py
parentaf65872da2b679e4b1876412aab6a731f82a469f (diff)
downloadcpython-git-a793037d803abf098d172f686e2b95d27863c54d.tar.gz
Issue #19527: Fixed tests with defined COUNT_ALLOCS.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 000b525003..5111882a02 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -3135,6 +3135,7 @@ class TextIOWrapperTest(unittest.TestCase):
""".format(iomod=iomod, kwargs=kwargs)
return assert_python_ok("-c", code)
+ @support.requires_type_collecting
def test_create_at_shutdown_without_encoding(self):
rc, out, err = self._check_create_at_shutdown()
if err:
@@ -3144,6 +3145,7 @@ class TextIOWrapperTest(unittest.TestCase):
else:
self.assertEqual("ok", out.decode().strip())
+ @support.requires_type_collecting
def test_create_at_shutdown_with_encoding(self):
rc, out, err = self._check_create_at_shutdown(encoding='utf-8',
errors='strict')