From a5bc2bb9091124f4cd8fc4c2104a7e03f2d4e294 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Thu, 4 Feb 2021 17:59:37 -0500 Subject: [PATCH] Explain test_overflow skip --- Lib/test/test_json/test_scanstring.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_json/test_scanstring.py b/Lib/test/test_json/test_scanstring.py index 8e6956678..d19b86e34 100644 --- a/Lib/test/test_json/test_scanstring.py +++ b/Lib/test/test_json/test_scanstring.py @@ -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)