Skip to content

Commit

Permalink
STY: pre-commit linting with black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcar17 committed Feb 15, 2024
1 parent 67a9b65 commit 3b5f560
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_spectral_cluster_supertree.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ def test_agreeable():

tree_1 = make_tree("(((a,b),(c,d)),(z,(x,y)))")
tree_2 = make_tree("((a,((f,g),b)),(c,(d,e)))")

expected = make_tree("(((a,(b,(f,g))),(c,(d,e))),((x,y),z))")

scs_test([tree_1, tree_2], expected)


def test_tuple_sorted():
assert tuple_sorted([3,1,2]) == (1,2,3)
assert tuple_sorted([3, 1, 2]) == (1, 2, 3)

0 comments on commit 3b5f560

Please sign in to comment.