diff --git a/tests/test_basic.py b/tests/test_basic.py index 3f7352879..ebbe162e6 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -258,9 +258,11 @@ def cli(f): @pytest.mark.parametrize( ("value", "expect"), - chain( - ((x, "True") for x in ("1", "true", "t", "yes", "y", "on")), - ((x, "False") for x in ("0", "false", "f", "no", "n", "off")), + tuple( + chain( + ((x, "True") for x in ("1", "true", "t", "yes", "y", "on")), + ((x, "False") for x in ("0", "false", "f", "no", "n", "off")), + ) ), ) def test_boolean_conversion(runner, value, expect):