Skip to content

Commit

Permalink
test_patch: assertEquals -> assertEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonio21 committed Dec 6, 2017
1 parent c4e0260 commit 007ac2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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)

0 comments on commit 007ac2a

Please sign in to comment.