Skip to content

Commit 6149177

Browse files
authored
Remove @ in pytest.mark.parametrize rule messages (#14770)
1 parent 8b23086 commit 6149177

10 files changed

+105
-105
lines changed

crates/ruff_linter/src/rules/flake8_pytest_style/rules/parametrize.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl Violation for PytestParametrizeNamesWrongType {
9393
}
9494
}
9595
};
96-
format!("Wrong type passed to first argument of `@pytest.mark.parametrize`; expected {expected_string}")
96+
format!("Wrong type passed to first argument of `pytest.mark.parametrize`; expected {expected_string}")
9797
}
9898

9999
fn fix_title(&self) -> Option<String> {
@@ -210,7 +210,7 @@ impl Violation for PytestParametrizeValuesWrongType {
210210
#[derive_message_formats]
211211
fn message(&self) -> String {
212212
let PytestParametrizeValuesWrongType { values, row } = self;
213-
format!("Wrong values type in `@pytest.mark.parametrize` expected `{values}` of `{row}`")
213+
format!("Wrong values type in `pytest.mark.parametrize` expected `{values}` of `{row}`")
214214
}
215215

216216
fn fix_title(&self) -> Option<String> {
@@ -273,7 +273,7 @@ impl Violation for PytestDuplicateParametrizeTestCases {
273273
#[derive_message_formats]
274274
fn message(&self) -> String {
275275
let PytestDuplicateParametrizeTestCases { index } = self;
276-
format!("Duplicate of test case at index {index} in `@pytest_mark.parametrize`")
276+
format!("Duplicate of test case at index {index} in `pytest.mark.parametrize`")
277277
}
278278

279279
fn fix_title(&self) -> Option<String> {

crates/ruff_linter/src/rules/flake8_pytest_style/snapshots/ruff_linter__rules__flake8_pytest_style__tests__PT006_csv.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
source: crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs
33
snapshot_kind: text
44
---
5-
PT006.py:24:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected a string of comma-separated values
5+
PT006.py:24:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected a string of comma-separated values
66
|
77
24 | @pytest.mark.parametrize(("param1", "param2"), [(1, 2), (3, 4)])
88
| ^^^^^^^^^^^^^^^^^^^^ PT006
@@ -21,7 +21,7 @@ PT006.py:24:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
2121
26 26 | ...
2222
27 27 |
2323

24-
PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `str`
24+
PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `str`
2525
|
2626
29 | @pytest.mark.parametrize(("param1",), [1, 2, 3])
2727
| ^^^^^^^^^^^ PT006
@@ -40,7 +40,7 @@ PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
4040
31 31 | ...
4141
32 32 |
4242

43-
PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected a string of comma-separated values
43+
PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected a string of comma-separated values
4444
|
4545
34 | @pytest.mark.parametrize(["param1", "param2"], [(1, 2), (3, 4)])
4646
| ^^^^^^^^^^^^^^^^^^^^ PT006
@@ -59,7 +59,7 @@ PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
5959
36 36 | ...
6060
37 37 |
6161

62-
PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `str`
62+
PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `str`
6363
|
6464
39 | @pytest.mark.parametrize(["param1"], [1, 2, 3])
6565
| ^^^^^^^^^^ PT006
@@ -78,7 +78,7 @@ PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
7878
41 41 | ...
7979
42 42 |
8080

81-
PT006.py:44:26: PT006 Wrong type passed to first argument of `@pytest.mark.parametrize`; expected a string of comma-separated values
81+
PT006.py:44:26: PT006 Wrong type passed to first argument of `pytest.mark.parametrize`; expected a string of comma-separated values
8282
|
8383
44 | @pytest.mark.parametrize([some_expr, another_expr], [1, 2, 3])
8484
| ^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -87,7 +87,7 @@ PT006.py:44:26: PT006 Wrong type passed to first argument of `@pytest.mark.param
8787
|
8888
= help: Use a string of comma-separated values for the first argument
8989

90-
PT006.py:49:26: PT006 Wrong type passed to first argument of `@pytest.mark.parametrize`; expected a string of comma-separated values
90+
PT006.py:49:26: PT006 Wrong type passed to first argument of `pytest.mark.parametrize`; expected a string of comma-separated values
9191
|
9292
49 | @pytest.mark.parametrize([some_expr, "param2"], [1, 2, 3])
9393
| ^^^^^^^^^^^^^^^^^^^^^ PT006

crates/ruff_linter/src/rules/flake8_pytest_style/snapshots/ruff_linter__rules__flake8_pytest_style__tests__PT006_default.snap

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
source: crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs
33
snapshot_kind: text
44
---
5-
PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
5+
PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
66
|
77
9 | @pytest.mark.parametrize("param1,param2", [(1, 2), (3, 4)])
88
| ^^^^^^^^^^^^^^^ PT006
@@ -21,7 +21,7 @@ PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.pa
2121
11 11 | ...
2222
12 12 |
2323

24-
PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
24+
PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
2525
|
2626
14 | @pytest.mark.parametrize(" param1, , param2 , ", [(1, 2), (3, 4)])
2727
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -40,7 +40,7 @@ PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
4040
16 16 | ...
4141
17 17 |
4242

43-
PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
43+
PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
4444
|
4545
19 | @pytest.mark.parametrize("param1,param2", [(1, 2), (3, 4)])
4646
| ^^^^^^^^^^^^^^^ PT006
@@ -59,7 +59,7 @@ PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
5959
21 21 | ...
6060
22 22 |
6161

62-
PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `str`
62+
PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `str`
6363
|
6464
29 | @pytest.mark.parametrize(("param1",), [1, 2, 3])
6565
| ^^^^^^^^^^^ PT006
@@ -78,7 +78,7 @@ PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
7878
31 31 | ...
7979
32 32 |
8080

81-
PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
81+
PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
8282
|
8383
34 | @pytest.mark.parametrize(["param1", "param2"], [(1, 2), (3, 4)])
8484
| ^^^^^^^^^^^^^^^^^^^^ PT006
@@ -97,7 +97,7 @@ PT006.py:34:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
9797
36 36 | ...
9898
37 37 |
9999

100-
PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `str`
100+
PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `str`
101101
|
102102
39 | @pytest.mark.parametrize(["param1"], [1, 2, 3])
103103
| ^^^^^^^^^^ PT006
@@ -116,7 +116,7 @@ PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
116116
41 41 | ...
117117
42 42 |
118118

119-
PT006.py:44:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
119+
PT006.py:44:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
120120
|
121121
44 | @pytest.mark.parametrize([some_expr, another_expr], [1, 2, 3])
122122
| ^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -135,7 +135,7 @@ PT006.py:44:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
135135
46 46 | ...
136136
47 47 |
137137

138-
PT006.py:49:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
138+
PT006.py:49:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
139139
|
140140
49 | @pytest.mark.parametrize([some_expr, "param2"], [1, 2, 3])
141141
| ^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -154,7 +154,7 @@ PT006.py:49:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
154154
51 51 | ...
155155
52 52 |
156156

157-
PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
157+
PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
158158
|
159159
54 | @pytest.mark.parametrize(("param1, " "param2, " "param3"), [(1, 2, 3), (4, 5, 6)])
160160
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -173,7 +173,7 @@ PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
173173
56 56 | ...
174174
57 57 |
175175

176-
PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
176+
PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
177177
|
178178
59 | @pytest.mark.parametrize("param1, " "param2, " "param3", [(1, 2, 3), (4, 5, 6)])
179179
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -192,7 +192,7 @@ PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
192192
61 61 | ...
193193
62 62 |
194194

195-
PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
195+
PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
196196
|
197197
64 | @pytest.mark.parametrize((("param1, " "param2, " "param3")), [(1, 2, 3), (4, 5, 6)])
198198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -211,7 +211,7 @@ PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
211211
66 66 | ...
212212
67 67 |
213213

214-
PT006.py:69:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
214+
PT006.py:69:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
215215
|
216216
69 | @pytest.mark.parametrize(("param1,param2"), [(1, 2), (3, 4)])
217217
| ^^^^^^^^^^^^^^^^^ PT006

crates/ruff_linter/src/rules/flake8_pytest_style/snapshots/ruff_linter__rules__flake8_pytest_style__tests__PT006_list.snap

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
source: crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs
33
snapshot_kind: text
44
---
5-
PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
5+
PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
66
|
77
9 | @pytest.mark.parametrize("param1,param2", [(1, 2), (3, 4)])
88
| ^^^^^^^^^^^^^^^ PT006
@@ -21,7 +21,7 @@ PT006.py:9:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.pa
2121
11 11 | ...
2222
12 12 |
2323

24-
PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
24+
PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
2525
|
2626
14 | @pytest.mark.parametrize(" param1, , param2 , ", [(1, 2), (3, 4)])
2727
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -40,7 +40,7 @@ PT006.py:14:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
4040
16 16 | ...
4141
17 17 |
4242

43-
PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
43+
PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
4444
|
4545
19 | @pytest.mark.parametrize("param1,param2", [(1, 2), (3, 4)])
4646
| ^^^^^^^^^^^^^^^ PT006
@@ -59,7 +59,7 @@ PT006.py:19:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
5959
21 21 | ...
6060
22 22 |
6161

62-
PT006.py:24:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
62+
PT006.py:24:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
6363
|
6464
24 | @pytest.mark.parametrize(("param1", "param2"), [(1, 2), (3, 4)])
6565
| ^^^^^^^^^^^^^^^^^^^^ PT006
@@ -78,7 +78,7 @@ PT006.py:24:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
7878
26 26 | ...
7979
27 27 |
8080

81-
PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `str`
81+
PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `str`
8282
|
8383
29 | @pytest.mark.parametrize(("param1",), [1, 2, 3])
8484
| ^^^^^^^^^^^ PT006
@@ -97,7 +97,7 @@ PT006.py:29:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
9797
31 31 | ...
9898
32 32 |
9999

100-
PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `str`
100+
PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `str`
101101
|
102102
39 | @pytest.mark.parametrize(["param1"], [1, 2, 3])
103103
| ^^^^^^^^^^ PT006
@@ -116,7 +116,7 @@ PT006.py:39:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
116116
41 41 | ...
117117
42 42 |
118118

119-
PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
119+
PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
120120
|
121121
54 | @pytest.mark.parametrize(("param1, " "param2, " "param3"), [(1, 2, 3), (4, 5, 6)])
122122
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -135,7 +135,7 @@ PT006.py:54:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
135135
56 56 | ...
136136
57 57 |
137137

138-
PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
138+
PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
139139
|
140140
59 | @pytest.mark.parametrize("param1, " "param2, " "param3", [(1, 2, 3), (4, 5, 6)])
141141
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -154,7 +154,7 @@ PT006.py:59:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
154154
61 61 | ...
155155
62 62 |
156156

157-
PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
157+
PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
158158
|
159159
64 | @pytest.mark.parametrize((("param1, " "param2, " "param3")), [(1, 2, 3), (4, 5, 6)])
160160
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT006
@@ -173,7 +173,7 @@ PT006.py:64:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.p
173173
66 66 | ...
174174
67 67 |
175175

176-
PT006.py:69:26: PT006 [*] Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `list`
176+
PT006.py:69:26: PT006 [*] Wrong type passed to first argument of `pytest.mark.parametrize`; expected `list`
177177
|
178178
69 | @pytest.mark.parametrize(("param1,param2"), [(1, 2), (3, 4)])
179179
| ^^^^^^^^^^^^^^^^^ PT006

crates/ruff_linter/src/rules/flake8_pytest_style/snapshots/ruff_linter__rules__flake8_pytest_style__tests__PT007_list_of_lists.snap

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
source: crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs
33
snapshot_kind: text
44
---
5-
PT007.py:4:35: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
5+
PT007.py:4:35: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
66
|
77
4 | @pytest.mark.parametrize("param", (1, 2))
88
| ^^^^^^ PT007
@@ -21,7 +21,7 @@ PT007.py:4:35: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
2121
6 6 | ...
2222
7 7 |
2323

24-
PT007.py:11:5: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
24+
PT007.py:11:5: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
2525
|
2626
9 | @pytest.mark.parametrize(
2727
10 | ("param1", "param2"),
@@ -50,7 +50,7 @@ PT007.py:11:5: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
5050
16 16 | def test_tuple_of_tuples(param1, param2):
5151
17 17 | ...
5252

53-
PT007.py:12:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
53+
PT007.py:12:9: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
5454
|
5555
10 | ("param1", "param2"),
5656
11 | (
@@ -71,7 +71,7 @@ PT007.py:12:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
7171
14 14 | ),
7272
15 15 | )
7373

74-
PT007.py:13:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
74+
PT007.py:13:9: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
7575
|
7676
11 | (
7777
12 | (1, 2),
@@ -92,7 +92,7 @@ PT007.py:13:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
9292
15 15 | )
9393
16 16 | def test_tuple_of_tuples(param1, param2):
9494

95-
PT007.py:22:5: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
95+
PT007.py:22:5: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
9696
|
9797
20 | @pytest.mark.parametrize(
9898
21 | ("param1", "param2"),
@@ -121,7 +121,7 @@ PT007.py:22:5: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
121121
27 27 | def test_tuple_of_lists(param1, param2):
122122
28 28 | ...
123123

124-
PT007.py:39:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
124+
PT007.py:39:9: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
125125
|
126126
37 | ("param1", "param2"),
127127
38 | [
@@ -142,7 +142,7 @@ PT007.py:39:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
142142
41 41 | ],
143143
42 42 | )
144144

145-
PT007.py:40:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
145+
PT007.py:40:9: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
146146
|
147147
38 | [
148148
39 | (1, 2),
@@ -163,7 +163,7 @@ PT007.py:40:9: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expecte
163163
42 42 | )
164164
43 43 | def test_list_of_tuples(param1, param2):
165165

166-
PT007.py:81:38: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
166+
PT007.py:81:38: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
167167
|
168168
80 | @pytest.mark.parametrize("a", [1, 2])
169169
81 | @pytest.mark.parametrize(("b", "c"), ((3, 4), (5, 6)))
@@ -183,7 +183,7 @@ PT007.py:81:38: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expect
183183
83 83 | @pytest.mark.parametrize(
184184
84 84 | "d",
185185

186-
PT007.py:81:39: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
186+
PT007.py:81:39: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
187187
|
188188
80 | @pytest.mark.parametrize("a", [1, 2])
189189
81 | @pytest.mark.parametrize(("b", "c"), ((3, 4), (5, 6)))
@@ -203,7 +203,7 @@ PT007.py:81:39: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expect
203203
83 83 | @pytest.mark.parametrize(
204204
84 84 | "d",
205205

206-
PT007.py:81:47: PT007 [*] Wrong values type in `@pytest.mark.parametrize` expected `list` of `list`
206+
PT007.py:81:47: PT007 [*] Wrong values type in `pytest.mark.parametrize` expected `list` of `list`
207207
|
208208
80 | @pytest.mark.parametrize("a", [1, 2])
209209
81 | @pytest.mark.parametrize(("b", "c"), ((3, 4), (5, 6)))

0 commit comments

Comments
 (0)