mirror of https://github.com/python/cpython
bpo-40462: Fix typo in test_json (GH-20094)
This commit is contained in:
parent
edf2643bbb
commit
4b972faf60
|
@ -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"')
|
||||
|
|
Loading…
Reference in New Issue