Skip to content

Commit a5bc2bb

Browse files
committed
Explain test_overflow skip
1 parent 961472e commit a5bc2bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_json/test_scanstring.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ def test_bad_escapes(self):
138138
with self.assertRaises(self.JSONDecodeError, msg=s):
139139
scanstring(s, 1, True)
140140

141-
@unittest.skip("TODO: RUSTPYTHON")
141+
@unittest.skip("TODO: RUSTPYTHON, "
142+
"TypeError: Expected type 'str', not 'bytes'; "
143+
"TypeError: expected string")
142144
def test_overflow(self):
143145
with self.assertRaises(OverflowError):
144146
self.json.decoder.scanstring(b"xxx", sys.maxsize+1)

0 commit comments

Comments
 (0)