Skip to content

Commit 007ac2a

Browse files
committed
test_patch: assertEquals -> assertEqual
1 parent c4e0260 commit 007ac2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_patch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def test_context_lines(self):
171171
len([line for line in patch.patch.splitlines() if line.startswith(" ")])
172172
)
173173

174-
self.assertNotEquals(context_count, 0)
174+
self.assertNotEqual(context_count, 0)
175175

176176
def test_no_context_lines(self):
177177
old_blob = self.repo[BLOB_OLD_SHA]
@@ -189,4 +189,4 @@ def test_no_context_lines(self):
189189
len([line for line in patch.patch.splitlines() if line.startswith(" ")])
190190
)
191191

192-
self.assertEquals(context_count, 0)
192+
self.assertEqual(context_count, 0)

0 commit comments

Comments
 (0)