Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5940c53 commit c49a516Copy full SHA for c49a516
1 file changed
Lib/test/test_bytes.py
@@ -216,7 +216,7 @@ def test_encoding(self):
216
self.assertEqual(b, self.type2test(sample[:-3], "utf-8"))
217
218
def test_decode(self):
219
- sample = "Hello world\n\u1234\u5678\u9abc\def0\def0"
+ sample = "Hello world\n\u1234\u5678\u9abc"
220
for enc in ("utf-8", "utf-16"):
221
b = self.type2test(sample, enc)
222
self.assertEqual(b.decode(enc), sample)
0 commit comments