X-Git-Url: https://code.communitydata.science/mediawiki_dump_tools.git/blobdiff_plain/317bafb50db0c9dba34348e4414095cbe900a9ac..e871023ff54425af61097a4a95174a42c8245c99:/test/Wikiq_Unit_Test.py?ds=sidebyside 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)