diff options
author | Oren Milman <orenmn@gmail.com> | 2017-08-20 15:35:36 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-08-20 15:35:36 (GMT) |
commit | 1d1d3e9db882d78433f5bc8dbe7df929f4b6b5e1 (patch) | |
tree | b5d3ee0a0aba15a2586c4e891630554dd702e933 /Lib/test/test_io.py | |
parent | 4bfebc63012f0f4e00f6a98c3d96e1c0ebe93408 (diff) | |
download | cpython-1d1d3e9db882d78433f5bc8dbe7df929f4b6b5e1.zip cpython-1d1d3e9db882d78433f5bc8dbe7df929f4b6b5e1.tar.gz cpython-1d1d3e9db882d78433f5bc8dbe7df929f4b6b5e1.tar.bz2 |
bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal tuples. (#3119)
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r-- | Lib/test/test_io.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 83d6c4e..ab0cbe1 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -3472,6 +3472,7 @@ class IncrementalNewlineDecoderTest(unittest.TestCase): decoder = codecs.getincrementaldecoder("utf-8")() decoder = self.IncrementalNewlineDecoder(decoder, translate=True) self.check_newline_decoding_utf8(decoder) + self.assertRaises(TypeError, decoder.setstate, 42) def test_newline_bytes(self): # Issue 5433: Excessive optimization in IncrementalNewlineDecoder |