From d4d5fd42f0c0ed7aaa186720594d0e7c2ab31aaf Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Tue, 30 Apr 2024 11:35:46 -0500 Subject: [PATCH] Change to tuples for pytest parametrize --- tests/test_writer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_writer.py b/tests/test_writer.py index 6d8d1e5c..dd435448 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -302,8 +302,8 @@ def test_write_format_controls(writer): @pytest.mark.parametrize( - ["no_binary", "only_binary", "expected_lines"], - [ + ("no_binary", "only_binary", "expected_lines"), + ( ( [":all:"], ["django"], @@ -320,7 +320,7 @@ def test_write_format_controls(writer): "--no-binary django", ], ), - ], + ), ) def test_write_format_controls_all(writer, no_binary, only_binary, expected_lines): """