summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_with.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_with.py')
-rw-r--r--Lib/test/test_with.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py
index 74b5f19..d6308e4 100644
--- a/Lib/test/test_with.py
+++ b/Lib/test/test_with.py
@@ -734,10 +734,10 @@ class NestedWith(unittest.TestCase):
def testEnterReturnsTuple(self):
with self.Dummy(value=(1,2)) as (a1, a2), \
self.Dummy(value=(10, 20)) as (b1, b2):
- self.assertEquals(1, a1)
- self.assertEquals(2, a2)
- self.assertEquals(10, b1)
- self.assertEquals(20, b2)
+ self.assertEqual(1, a1)
+ self.assertEqual(2, a2)
+ self.assertEqual(10, b1)
+ self.assertEqual(20, b2)
def test_main():
run_unittest(FailureTestCase, NonexceptionalTestCase,