From 01c6ea2d2050d2bf7b52754891253de04ab79a78 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Thu, 2 Jan 2025 11:12:21 -0800 Subject: [PATCH] Update topology_test.py Fixed small bug in test module --- test/tools_tests/topology_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools_tests/topology_test.py b/test/tools_tests/topology_test.py index 4c628b05..548f15b0 100644 --- a/test/tools_tests/topology_test.py +++ b/test/tools_tests/topology_test.py @@ -231,7 +231,7 @@ def test_cophenetic_correlation_perfect(self): obs_cophenetic_correlation = cas.tl.compute_cophenetic_correlation( self.tree, dissimilarity_map=custom_dissimilarity_map )[0] - self.assertEquals(1.0, obs_cophenetic_correlation) + self.assertEqual(1.0, obs_cophenetic_correlation) # make sure weight matrix can be specified W = pd.DataFrame.from_dict(