diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-21 03:08:31 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-21 03:08:31 (GMT) |
commit | b487e632826a45bb81925d1577856637c3fcafa0 (patch) | |
tree | ea4ab6c3c4a4f794ba9421f43ecdd8d05395d61a /Lib/test/test_memoryio.py | |
parent | 16f966ee2618f7a6604b94de2e478637676f550e (diff) | |
download | cpython-b487e632826a45bb81925d1577856637c3fcafa0.zip cpython-b487e632826a45bb81925d1577856637c3fcafa0.tar.gz cpython-b487e632826a45bb81925d1577856637c3fcafa0.tar.bz2 |
stringio doesn't have an encoding
Diffstat (limited to 'Lib/test/test_memoryio.py')
-rw-r--r-- | Lib/test/test_memoryio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_memoryio.py b/Lib/test/test_memoryio.py index b3fc042..ad04613 100644 --- a/Lib/test/test_memoryio.py +++ b/Lib/test/test_memoryio.py @@ -451,7 +451,7 @@ class PyStringIOTest(MemoryTestMixin, MemorySeekTestMixin, unittest.TestCase): # These are just dummy values but we nevertheless check them for fear # of unexpected breakage. - self.assertEqual(memio.encoding, "utf-8") + self.assertTrue(memio.encoding is None) self.assertEqual(memio.errors, "strict") self.assertEqual(memio.line_buffering, False) |