Skip to content

Commit

Permalink
Update topology_test.py
Browse files Browse the repository at this point in the history
Fixed small bug in test module
  • Loading branch information
mattjones315 authored Jan 2, 2025
1 parent bf85cf6 commit 01c6ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tools_tests/topology_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 01c6ea2

Please sign in to comment.