Skip to content

Commit

Permalink
allow more than one deprecation warning (can come from feature + basi…
Browse files Browse the repository at this point in the history
…s function)
  • Loading branch information
rhiannonlynne committed Sep 5, 2024
1 parent 33a5b16 commit 4b8d7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scheduler/test_basisfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def test_deprecated(self):
warnings.simplefilter("always")
dep_bf()
# Verify deprecation warning
assert len(w) == 1
assert len(w) >= 1
assert issubclass(w[-1].category, (DeprecationWarning, FutureWarning))


Expand Down

0 comments on commit 4b8d7e2

Please sign in to comment.