Skip to content

Commit

Permalink
Use an assertion name wich is not deprecated
Browse files Browse the repository at this point in the history
assertEquals was deprecated long ago. Travis-CI shows a warning telling that it should no longer be used.
  • Loading branch information
Michael Howitz committed Dec 8, 2016
1 parent 4ce298a commit 218ded9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_data_in_sync(self):
for pkg in self.db:
db_versions = set(sorted(self.db[pkg]))
db_full_versions = set(sorted(item["v"] for item in self.db_full[pkg]))
self.assertEquals(
self.assertEqual(
db_versions,
db_full_versions,
"Versions for {} not matching\n{}\n{}".format(pkg, db_versions, db_full_versions)
Expand Down

0 comments on commit 218ded9

Please sign in to comment.