We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1940b1e commit ed2c55cCopy full SHA for ed2c55c
1 file changed
Lib/test/test_json/test_fail.py
@@ -235,7 +235,7 @@ def test_linecol(self):
235
self.assertEqual(str(err),
236
'Expecting value: line %s column %d (char %d)' %
237
(line, col, idx))
238
-
+
239
def test_reentrant_jsondecodeerror_does_not_crash(self):
240
import json
241
@@ -261,7 +261,7 @@ def __call__(self, *args):
261
# only verifies that we do not crash or trigger a SystemError.
262
with self.assertRaises(Exception):
263
self.loads('"\\uZZZZ"')
264
265
finally:
266
json.JSONDecodeError = orig_json_error
267
json.decoder.JSONDecodeError = orig_decoder_error
0 commit comments