diff options
author | Victor Stinner <vstinner@python.org> | 2020-05-14 23:02:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 23:02:10 (GMT) |
commit | 4b972faf605912092013a1fdbf486c498d002926 (patch) | |
tree | a56782698a78651b31e5f4f21c8aa63637abdc7e /Lib/test/test_json | |
parent | edf2643bbb9859403239fe1cb3c212b1a2a8e65c (diff) | |
download | cpython-4b972faf605912092013a1fdbf486c498d002926.zip cpython-4b972faf605912092013a1fdbf486c498d002926.tar.gz cpython-4b972faf605912092013a1fdbf486c498d002926.tar.bz2 |
bpo-40462: Fix typo in test_json (GH-20094)
Diffstat (limited to 'Lib/test/test_json')
-rw-r--r-- | Lib/test/test_json/test_recursion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_json/test_recursion.py b/Lib/test/test_json/test_recursion.py index 877dc44..543c628 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"') |