mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-40462: Fix typo in test_json (GH-20094)
This commit is contained in:
parent
edf2643bbb
commit
4b972faf60
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue