mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-137821: Fix wrongly tested json.decoder.scanstring (gh-140782)
This commit is contained in:
parent
a7cfe862ba
commit
064e989de5
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def test_bad_escapes(self):
|
||||||
|
|
||||||
def test_overflow(self):
|
def test_overflow(self):
|
||||||
with self.assertRaises(OverflowError):
|
with self.assertRaises(OverflowError):
|
||||||
self.json.decoder.scanstring(b"xxx", sys.maxsize+1)
|
self.json.decoder.scanstring("xxx", sys.maxsize+1)
|
||||||
|
|
||||||
|
|
||||||
class TestPyScanstring(TestScanstring, PyTest): pass
|
class TestPyScanstring(TestScanstring, PyTest): pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue