From: Victor Stinner Date: Thu, 14 May 2020 23:02:10 +0000 (+0200) Subject: bpo-40462: Fix typo in test_json (GH-20094) X-Git-Tag: v3.9.0b1~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b972faf605912092013a1fdbf486c498d002926;p=thirdparty%2FPython%2Fcpython.git bpo-40462: Fix typo in test_json (GH-20094) --- diff --git a/Lib/test/test_json/test_recursion.py b/Lib/test/test_json/test_recursion.py index 877dc448b14c..543c62839b2c 100644 --- a/Lib/test/test_json/test_recursion.py +++ b/Lib/test/test_json/test_recursion.py @@ -52,7 +52,7 @@ class TestRecursion: return [JSONTestObject] else: return 'JSONTestObject' - return pyjson.JSONEncoder.default(o) + return self.json.JSONEncoder.default(o) enc = RecursiveJSONEncoder() self.assertEqual(enc.encode(JSONTestObject), '"JSONTestObject"')