From 007ac2a28dcd3b7dd13beade915fe62f936924ba Mon Sep 17 00:00:00 2001 From: Brandon Milton Date: Wed, 6 Dec 2017 10:45:36 -0800 Subject: [PATCH] test_patch: assertEquals -> assertEqual --- test/test_patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_patch.py b/test/test_patch.py index 8c906e9f3..e05cf74d8 100644 --- a/test/test_patch.py +++ b/test/test_patch.py @@ -171,7 +171,7 @@ def test_context_lines(self): len([line for line in patch.patch.splitlines() if line.startswith(" ")]) ) - self.assertNotEquals(context_count, 0) + self.assertNotEqual(context_count, 0) def test_no_context_lines(self): old_blob = self.repo[BLOB_OLD_SHA] @@ -189,4 +189,4 @@ def test_no_context_lines(self): len([line for line in patch.patch.splitlines() if line.startswith(" ")]) ) - self.assertEquals(context_count, 0) + self.assertEqual(context_count, 0)