mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
give the C implementation of TextIOWrapper the errors property #6217
This commit is contained in:
parent
3bbbf18a38
commit
0926ad1f05
7 changed files with 50 additions and 26 deletions
|
@ -459,9 +459,9 @@ class PyStringIOTest(MemoryTestMixin, MemorySeekTestMixin, unittest.TestCase):
|
|||
|
||||
# These are just dummy values but we nevertheless check them for fear
|
||||
# of unexpected breakage.
|
||||
self.assertTrue(memio.encoding is None)
|
||||
self.assertEqual(memio.errors, "strict")
|
||||
self.assertEqual(memio.line_buffering, False)
|
||||
self.assertIsNone(memio.encoding)
|
||||
self.assertIsNone(memio.errors)
|
||||
self.assertFalse(memio.line_buffering)
|
||||
|
||||
def test_newline_none(self):
|
||||
# newline=None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue