(self)
| 137 | self.assertRaises(json.JSONDecodeError, scanstring, '\\u EDD"', 0, None, True) |
| 138 | |
| 139 | def test_issue3623(self): |
| 140 | self.assertRaises(ValueError, json.decoder.scanstring, "xxx", 1, |
| 141 | "xxx") |
| 142 | self.assertRaises(UnicodeDecodeError, |
| 143 | json.encoder.encode_basestring_ascii, b("xx\xff")) |
| 144 | |
| 145 | def test_overflow(self): |
| 146 | # Python 2.5 does not have maxsize, Python 3 does not have maxint |