mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Explain test_overflow skip
This commit is contained in:
1 parent
961472e6fe
commit
a5bc2bb909
1 file changed
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user