From: groceryheist Date: Mon, 3 Sep 2018 18:21:49 +0000 (-0700) Subject: sub assertEquals assertEqual X-Git-Url: https://code.communitydata.science/mediawiki_dump_tools.git/commitdiff_plain/f7f5bf8fd48014958dd6e9b0336db31f0cd0210e sub assertEquals assertEqual --- diff --git a/test/Wikiq_Unit_Test.py b/test/Wikiq_Unit_Test.py index 91ac928..9c85109 100644 --- a/test/Wikiq_Unit_Test.py +++ b/test/Wikiq_Unit_Test.py @@ -69,7 +69,7 @@ class Test_Wikipedia(unittest.TestCase): # as a test let's make sure that we get equal data frames test = pd.read_table(test_file) num_wrong_ns = sum(~ test.namespace.isin({0,1})) - self.assertEquals(num_wrong_ns, 0) + self.assertEqual(num_wrong_ns, 0) baseline = pd.read_table(baseline_file) assert_frame_equal(test,baseline)