Browse Source

Avoid deprecated `self.assertEquals`

`self.assertEqual` is equivalent and does not issue a deprecation
warning.
Daniel Andersson 7 years ago
parent
commit
c0c54d8bb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dulwich/tests/test_client.py

+ 1 - 1
dulwich/tests/test_client.py

@@ -147,7 +147,7 @@ class GitClientTests(TestCase):
         self.rin.seek(0)
 
         def check_heads(heads):
-            self.assertEquals({}, heads)
+            self.assertEqual({}, heads)
             return []
         ret = self.client.fetch_pack(b'bla', check_heads, None, None, None)
         self.assertEqual({}, ret.refs)