Skip to content

Commit

Permalink
TST: cover missing branch
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Jul 30, 2024
1 parent 8ca3a95 commit a71165a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def test_gettrans():
t1 = gettrans(t0)
t2 = gettrans(identity_trans)
t3 = gettrans("identity")
assert all(isinstance(x, identity_trans) for x in (t0, t1, t2, t3))
t4 = gettrans()
assert all(isinstance(x, identity_trans) for x in (t0, t1, t2, t3, t4))

t = gettrans(exp_trans)
assert t.__class__.__name__ == "power_e_trans"
Expand Down

0 comments on commit a71165a

Please sign in to comment.