Skip to content

Commit 20ea22e

Browse files
committed
tunable: Fix empty sequence test on py3.12
1 parent 285c709 commit 20ea22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_magicbot_tunable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Component:
5555

5656

5757
def test_tunable_errors_with_empty_sequence():
58-
with pytest.raises(RuntimeError):
58+
with pytest.raises((RuntimeError, ValueError)):
5959

6060
class Component:
6161
empty = tunable([])

0 commit comments

Comments
 (0)