Skip to content

Commit b44b0a0

Browse files
committed
fix(py): PT006 Wrong type passed to first argument
1 parent 4678498 commit b44b0a0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

template/py/{{cookiecutter.project_slug}}/tests/test_example.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
@pytest.mark.parametrize(
7-
"a, b, expected",
7+
("a", "b", "expected"),
88
[
99
(1, 2, 3),
1010
(0, 0, 0),
@@ -16,7 +16,7 @@ def test_add(a, b, expected):
1616

1717

1818
@pytest.mark.parametrize(
19-
"a, b, expected",
19+
("a", "b", "expected"),
2020
[
2121
(1, 2, -1),
2222
(0, 0, 0),
@@ -28,7 +28,7 @@ def test_subtract(a, b, expected):
2828

2929

3030
@pytest.mark.parametrize(
31-
"a, b, expected",
31+
("a", "b", "expected"),
3232
[
3333
(1, 2, 2),
3434
(0, 0, 0),
@@ -40,7 +40,7 @@ def test_multiply(a, b, expected):
4040

4141

4242
@pytest.mark.parametrize(
43-
"a, b, expected",
43+
("a", "b", "expected"),
4444
[
4545
(1, 2, 0.5),
4646
(-1, -1, 1),
@@ -51,7 +51,7 @@ def test_divide(a, b, expected):
5151

5252

5353
@pytest.mark.parametrize(
54-
"a, b",
54+
("a", "b"),
5555
[
5656
(0, 0),
5757
(10, 0),

0 commit comments

Comments
 (0)