summaryrefslogtreecommitdiff
path: root/Lib/json/tests/test_pass1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/json/tests/test_pass1.py')
-rw-r--r--Lib/json/tests/test_pass1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/tests/test_pass1.py b/Lib/json/tests/test_pass1.py
index 216e2528de..719c113759 100644
--- a/Lib/json/tests/test_pass1.py
+++ b/Lib/json/tests/test_pass1.py
@@ -67,7 +67,7 @@ class TestPass1(TestCase):
# test in/out equivalence and parsing
res = json.loads(JSON)
out = json.dumps(res)
- self.assertEquals(res, json.loads(out))
+ self.assertEqual(res, json.loads(out))
try:
json.dumps(res, allow_nan=False)
except ValueError: