diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-03 22:27:26 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-03 22:27:26 +0300 |
commit | a793037d803abf098d172f686e2b95d27863c54d (patch) | |
tree | b1723194b3e1d1584f16c5a8b811f93c8a34fb1d /Lib/test/test_io.py | |
parent | af65872da2b679e4b1876412aab6a731f82a469f (diff) | |
download | cpython-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.py | 2 |
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') |