Skip to content

Commit 4b972fa

Browse files
authored
bpo-40462: Fix typo in test_json (GH-20094)
1 parent edf2643 commit 4b972fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_json/test_recursion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def default(self, o):
5252
return [JSONTestObject]
5353
else:
5454
return 'JSONTestObject'
55-
return pyjson.JSONEncoder.default(o)
55+
return self.json.JSONEncoder.default(o)
5656

5757
enc = RecursiveJSONEncoder()
5858
self.assertEqual(enc.encode(JSONTestObject), '"JSONTestObject"')

0 commit comments

Comments
 (0)