From c6b44c558d3ded4f17f7b06bed9cfd8399709702 Mon Sep 17 00:00:00 2001 From: jorge jardines Date: Thu, 1 Mar 2018 12:20:59 +0100 Subject: [PATCH] Use assertEqual instead of deprecated assertEquals --- python/test_gilded_rose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/test_gilded_rose.py b/python/test_gilded_rose.py index 2c66711bda..a8c7f8b02c 100644 --- a/python/test_gilded_rose.py +++ b/python/test_gilded_rose.py @@ -8,7 +8,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__': unittest.main()