Skip to content

Commit

Permalink
tunable: Fix empty sequence test on py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Oct 19, 2024
1 parent 285c709 commit 20ea22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_magicbot_tunable.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Component:


def test_tunable_errors_with_empty_sequence():
with pytest.raises(RuntimeError):
with pytest.raises((RuntimeError, ValueError)):

class Component:
empty = tunable([])
Expand Down

0 comments on commit 20ea22e

Please sign in to comment.