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 a7cfe86 commit 064e989Copy full SHA for 064e989
Lib/test/test_json/test_scanstring.py
@@ -144,7 +144,7 @@ def test_bad_escapes(self):
144
145
def test_overflow(self):
146
with self.assertRaises(OverflowError):
147
- self.json.decoder.scanstring(b"xxx", sys.maxsize+1)
+ self.json.decoder.scanstring("xxx", sys.maxsize+1)
148
149
150
class TestPyScanstring(TestScanstring, PyTest): pass
0 commit comments