]> code.communitydata.science - mediawiki_dump_tools.git/commitdiff
sub assertEquals assertEqual advanced_persistence
authorgroceryheist <nathante@uw.edu>
Mon, 3 Sep 2018 18:21:49 +0000 (11:21 -0700)
committergroceryheist <nathante@uw.edu>
Mon, 3 Sep 2018 18:21:49 +0000 (11:21 -0700)
test/Wikiq_Unit_Test.py

index 91ac928c721f1fb788326069b52829b0823613f6..9c85109b3988355832116e7d8b3b59c8bd2b00b3 100644 (file)
@@ -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)
 

Community Data Science Collective || Want to submit a patch?