Skip to content

Commit 0593e2f

Browse files
Update Lib/test/test_json/test_fail.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 0b38b8e commit 0593e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_json/test_fail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def test_reentrant_jsondecodeerror_does_not_crash(self):
246246
orig_decoder_error = json.decoder.JSONDecodeError
247247

248248
class Trigger:
249-
def __call__(self, *args):
249+
def __call__(self, *args, **kwargs):
250250
# Remove JSONDecodeError during construction to trigger re-entrancy
251251
del json.JSONDecodeError
252252
del json.decoder.JSONDecodeError

0 commit comments

Comments
 (0)