Explain test_overflow skip

This commit is contained in:
Padraic Fanning committed 2021-02-07 15:49:42 -05:00
1 parent 961472e6fe
commit a5bc2bb909
1 file changed
+3 -1
+3 -1
View File
@@ -138,7 +138,9 @@ class TestScanstring:
with self.assertRaises(self.JSONDecodeError, msg=s):
scanstring(s, 1, True)
@unittest.skip("TODO: RUSTPYTHON")
@unittest.skip("TODO: RUSTPYTHON, "
"TypeError: Expected type 'str', not 'bytes'; "
"TypeError: expected string")
def test_overflow(self):
with self.assertRaises(OverflowError):
self.json.decoder.scanstring(b"xxx", sys.maxsize+1)