Skip to content

Commit

Permalink
fix deprecated usage of assertEquals
Browse files Browse the repository at this point in the history
should be assertEqual, as the other form has been deprecated since 2010 and since been removed
  • Loading branch information
jannismain committed Mar 1, 2024
1 parent 2a2770b commit dd50681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test_gilded_rose.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_foo(self):
items = [Item("foo", 0, 0)]
gilded_rose = GildedRose(items)
gilded_rose.update_quality()
self.assertEquals("fixme", items[0].name)
self.assertEqual("fixme", items[0].name)


if __name__ == '__main__':
Expand Down

0 comments on commit dd50681

Please sign in to comment.