@@ -56,12 +56,12 @@ def test_repeat(x):
5656 """ )
5757 result = testdir .runpytest ('-v' , '--count' , '2' )
5858 result .stdout .fnmatch_lines ([
59- '*test_parametrize.py::test_repeat[[]a-1/ 2[]] PASSED*' ,
60- '*test_parametrize.py::test_repeat[[]a-2/ 2[]] PASSED*' ,
61- '*test_parametrize.py::test_repeat[[]b-1/ 2[]] PASSED*' ,
62- '*test_parametrize.py::test_repeat[[]b-2/ 2[]] PASSED*' ,
63- '*test_parametrize.py::test_repeat[[]c-1/ 2[]] PASSED*' ,
64- '*test_parametrize.py::test_repeat[[]c-2/ 2[]] PASSED*' ,
59+ '*test_parametrize.py::test_repeat[[]a-1- 2[]] PASSED*' ,
60+ '*test_parametrize.py::test_repeat[[]a-2- 2[]] PASSED*' ,
61+ '*test_parametrize.py::test_repeat[[]b-1- 2[]] PASSED*' ,
62+ '*test_parametrize.py::test_repeat[[]b-2- 2[]] PASSED*' ,
63+ '*test_parametrize.py::test_repeat[[]c-1- 2[]] PASSED*' ,
64+ '*test_parametrize.py::test_repeat[[]c-2- 2[]] PASSED*' ,
6565 '*6 passed*' ,
6666 ])
6767 assert result .ret == 0
@@ -91,11 +91,11 @@ def test_repeat(__pytest_repeat_step_number):
9191 """ )
9292 result = testdir .runpytest ('-v' , '--count' , '5' )
9393 result .stdout .fnmatch_lines ([
94- '*test_step_number.py::test_repeat[[]1/ 5[]] PASSED*' ,
95- '*test_step_number.py::test_repeat[[]2/ 5[]] PASSED*' ,
96- '*test_step_number.py::test_repeat[[]3/ 5[]] PASSED*' ,
97- '*test_step_number.py::test_repeat[[]4/ 5[]] PASSED*' ,
98- '*test_step_number.py::test_repeat[[]5/ 5[]] PASSED*' ,
94+ '*test_step_number.py::test_repeat[[]1- 5[]] PASSED*' ,
95+ '*test_step_number.py::test_repeat[[]2- 5[]] PASSED*' ,
96+ '*test_step_number.py::test_repeat[[]3- 5[]] PASSED*' ,
97+ '*test_step_number.py::test_repeat[[]4- 5[]] PASSED*' ,
98+ '*test_step_number.py::test_repeat[[]5- 5[]] PASSED*' ,
9999 '*5 passed*' ,
100100 ])
101101 assert result .ret == 0
@@ -124,79 +124,79 @@ def test_this(self):
124124
125125 @pytest .mark .parametrize (['scope' , 'lines' ], [
126126 ('session' , [
127- '*test_1.py::test_repeat1[[]1/ 2[]] PASSED*' ,
128- '*test_1.py::test_repeat2[[]1/ 2[]] PASSED*' ,
129- '*test_2.py::test_repeat3[[]1/ 2[]] PASSED*' ,
130- '*test_2.py::test_repeat4[[]1/ 2[]] PASSED*' ,
131- '*test_3.py::TestRepeat1::test_repeat5[[]1/ 2[]] PASSED*' ,
132- '*test_3.py::TestRepeat1::test_repeat6[[]1/ 2[]] PASSED*' ,
133- '*test_3.py::TestRepeat2::test_repeat7[[]1/ 2[]] PASSED*' ,
134- '*test_3.py::TestRepeat2::test_repeat8[[]1/ 2[]] PASSED*' ,
135- '*test_1.py::test_repeat1[[]2/ 2[]] PASSED*' ,
136- '*test_1.py::test_repeat2[[]2/ 2[]] PASSED*' ,
137- '*test_2.py::test_repeat3[[]2/ 2[]] PASSED*' ,
138- '*test_2.py::test_repeat4[[]2/ 2[]] PASSED*' ,
139- '*test_3.py::TestRepeat1::test_repeat5[[]2/ 2[]] PASSED*' ,
140- '*test_3.py::TestRepeat1::test_repeat6[[]2/ 2[]] PASSED*' ,
141- '*test_3.py::TestRepeat2::test_repeat7[[]2/ 2[]] PASSED*' ,
142- '*test_3.py::TestRepeat2::test_repeat8[[]2/ 2[]] PASSED*' ,
127+ '*test_1.py::test_repeat1[[]1- 2[]] PASSED*' ,
128+ '*test_1.py::test_repeat2[[]1- 2[]] PASSED*' ,
129+ '*test_2.py::test_repeat3[[]1- 2[]] PASSED*' ,
130+ '*test_2.py::test_repeat4[[]1- 2[]] PASSED*' ,
131+ '*test_3.py::TestRepeat1::test_repeat5[[]1- 2[]] PASSED*' ,
132+ '*test_3.py::TestRepeat1::test_repeat6[[]1- 2[]] PASSED*' ,
133+ '*test_3.py::TestRepeat2::test_repeat7[[]1- 2[]] PASSED*' ,
134+ '*test_3.py::TestRepeat2::test_repeat8[[]1- 2[]] PASSED*' ,
135+ '*test_1.py::test_repeat1[[]2- 2[]] PASSED*' ,
136+ '*test_1.py::test_repeat2[[]2- 2[]] PASSED*' ,
137+ '*test_2.py::test_repeat3[[]2- 2[]] PASSED*' ,
138+ '*test_2.py::test_repeat4[[]2- 2[]] PASSED*' ,
139+ '*test_3.py::TestRepeat1::test_repeat5[[]2- 2[]] PASSED*' ,
140+ '*test_3.py::TestRepeat1::test_repeat6[[]2- 2[]] PASSED*' ,
141+ '*test_3.py::TestRepeat2::test_repeat7[[]2- 2[]] PASSED*' ,
142+ '*test_3.py::TestRepeat2::test_repeat8[[]2- 2[]] PASSED*' ,
143143 '*16 passed*' ,
144144 ]),
145145 ('module' , [
146- '*test_1.py::test_repeat1[[]1/ 2[]] PASSED*' ,
147- '*test_1.py::test_repeat2[[]1/ 2[]] PASSED*' ,
148- '*test_1.py::test_repeat1[[]2/ 2[]] PASSED*' ,
149- '*test_1.py::test_repeat2[[]2/ 2[]] PASSED*' ,
150- '*test_2.py::test_repeat3[[]1/ 2[]] PASSED*' ,
151- '*test_2.py::test_repeat4[[]1/ 2[]] PASSED*' ,
152- '*test_2.py::test_repeat3[[]2/ 2[]] PASSED*' ,
153- '*test_2.py::test_repeat4[[]2/ 2[]] PASSED*' ,
154- '*test_3.py::TestRepeat1::test_repeat5[[]1/ 2[]] PASSED*' ,
155- '*test_3.py::TestRepeat1::test_repeat6[[]1/ 2[]] PASSED*' ,
156- '*test_3.py::TestRepeat2::test_repeat7[[]1/ 2[]] PASSED*' ,
157- '*test_3.py::TestRepeat2::test_repeat8[[]1/ 2[]] PASSED*' ,
158- '*test_3.py::TestRepeat1::test_repeat5[[]2/ 2[]] PASSED*' ,
159- '*test_3.py::TestRepeat1::test_repeat6[[]2/ 2[]] PASSED*' ,
160- '*test_3.py::TestRepeat2::test_repeat7[[]2/ 2[]] PASSED*' ,
161- '*test_3.py::TestRepeat2::test_repeat8[[]2/ 2[]] PASSED*' ,
146+ '*test_1.py::test_repeat1[[]1- 2[]] PASSED*' ,
147+ '*test_1.py::test_repeat2[[]1- 2[]] PASSED*' ,
148+ '*test_1.py::test_repeat1[[]2- 2[]] PASSED*' ,
149+ '*test_1.py::test_repeat2[[]2- 2[]] PASSED*' ,
150+ '*test_2.py::test_repeat3[[]1- 2[]] PASSED*' ,
151+ '*test_2.py::test_repeat4[[]1- 2[]] PASSED*' ,
152+ '*test_2.py::test_repeat3[[]2- 2[]] PASSED*' ,
153+ '*test_2.py::test_repeat4[[]2- 2[]] PASSED*' ,
154+ '*test_3.py::TestRepeat1::test_repeat5[[]1- 2[]] PASSED*' ,
155+ '*test_3.py::TestRepeat1::test_repeat6[[]1- 2[]] PASSED*' ,
156+ '*test_3.py::TestRepeat2::test_repeat7[[]1- 2[]] PASSED*' ,
157+ '*test_3.py::TestRepeat2::test_repeat8[[]1- 2[]] PASSED*' ,
158+ '*test_3.py::TestRepeat1::test_repeat5[[]2- 2[]] PASSED*' ,
159+ '*test_3.py::TestRepeat1::test_repeat6[[]2- 2[]] PASSED*' ,
160+ '*test_3.py::TestRepeat2::test_repeat7[[]2- 2[]] PASSED*' ,
161+ '*test_3.py::TestRepeat2::test_repeat8[[]2- 2[]] PASSED*' ,
162162 '*16 passed*' ,
163163 ]),
164164 ('class' , [
165- '*test_1.py::test_repeat1[[]1/ 2[]] PASSED*' ,
166- '*test_1.py::test_repeat2[[]1/ 2[]] PASSED*' ,
167- '*test_1.py::test_repeat1[[]2/ 2[]] PASSED*' ,
168- '*test_1.py::test_repeat2[[]2/ 2[]] PASSED*' ,
169- '*test_2.py::test_repeat3[[]1/ 2[]] PASSED*' ,
170- '*test_2.py::test_repeat4[[]1/ 2[]] PASSED*' ,
171- '*test_2.py::test_repeat3[[]2/ 2[]] PASSED*' ,
172- '*test_2.py::test_repeat4[[]2/ 2[]] PASSED*' ,
173- '*test_3.py::TestRepeat1::test_repeat5[[]1/ 2[]] PASSED*' ,
174- '*test_3.py::TestRepeat1::test_repeat6[[]1/ 2[]] PASSED*' ,
175- '*test_3.py::TestRepeat1::test_repeat5[[]2/ 2[]] PASSED*' ,
176- '*test_3.py::TestRepeat1::test_repeat6[[]2/ 2[]] PASSED*' ,
177- '*test_3.py::TestRepeat2::test_repeat7[[]1/ 2[]] PASSED*' ,
178- '*test_3.py::TestRepeat2::test_repeat8[[]1/ 2[]] PASSED*' ,
179- '*test_3.py::TestRepeat2::test_repeat7[[]2/ 2[]] PASSED*' ,
180- '*test_3.py::TestRepeat2::test_repeat8[[]2/ 2[]] PASSED*' ,
165+ '*test_1.py::test_repeat1[[]1- 2[]] PASSED*' ,
166+ '*test_1.py::test_repeat2[[]1- 2[]] PASSED*' ,
167+ '*test_1.py::test_repeat1[[]2- 2[]] PASSED*' ,
168+ '*test_1.py::test_repeat2[[]2- 2[]] PASSED*' ,
169+ '*test_2.py::test_repeat3[[]1- 2[]] PASSED*' ,
170+ '*test_2.py::test_repeat4[[]1- 2[]] PASSED*' ,
171+ '*test_2.py::test_repeat3[[]2- 2[]] PASSED*' ,
172+ '*test_2.py::test_repeat4[[]2- 2[]] PASSED*' ,
173+ '*test_3.py::TestRepeat1::test_repeat5[[]1- 2[]] PASSED*' ,
174+ '*test_3.py::TestRepeat1::test_repeat6[[]1- 2[]] PASSED*' ,
175+ '*test_3.py::TestRepeat1::test_repeat5[[]2- 2[]] PASSED*' ,
176+ '*test_3.py::TestRepeat1::test_repeat6[[]2- 2[]] PASSED*' ,
177+ '*test_3.py::TestRepeat2::test_repeat7[[]1- 2[]] PASSED*' ,
178+ '*test_3.py::TestRepeat2::test_repeat8[[]1- 2[]] PASSED*' ,
179+ '*test_3.py::TestRepeat2::test_repeat7[[]2- 2[]] PASSED*' ,
180+ '*test_3.py::TestRepeat2::test_repeat8[[]2- 2[]] PASSED*' ,
181181 '*16 passed*' ,
182182 ]),
183183 ('function' , [
184- '*test_1.py::test_repeat1[[]1/ 2[]] PASSED*' ,
185- '*test_1.py::test_repeat1[[]2/ 2[]] PASSED*' ,
186- '*test_1.py::test_repeat2[[]1/ 2[]] PASSED*' ,
187- '*test_1.py::test_repeat2[[]2/ 2[]] PASSED*' ,
188- '*test_2.py::test_repeat3[[]1/ 2[]] PASSED*' ,
189- '*test_2.py::test_repeat3[[]2/ 2[]] PASSED*' ,
190- '*test_2.py::test_repeat4[[]1/ 2[]] PASSED*' ,
191- '*test_2.py::test_repeat4[[]2/ 2[]] PASSED*' ,
192- '*test_3.py::TestRepeat1::test_repeat5[[]1/ 2[]] PASSED*' ,
193- '*test_3.py::TestRepeat1::test_repeat5[[]2/ 2[]] PASSED*' ,
194- '*test_3.py::TestRepeat1::test_repeat6[[]1/ 2[]] PASSED*' ,
195- '*test_3.py::TestRepeat1::test_repeat6[[]2/ 2[]] PASSED*' ,
196- '*test_3.py::TestRepeat2::test_repeat7[[]1/ 2[]] PASSED*' ,
197- '*test_3.py::TestRepeat2::test_repeat7[[]2/ 2[]] PASSED*' ,
198- '*test_3.py::TestRepeat2::test_repeat8[[]1/ 2[]] PASSED*' ,
199- '*test_3.py::TestRepeat2::test_repeat8[[]2/ 2[]] PASSED*' ,
184+ '*test_1.py::test_repeat1[[]1- 2[]] PASSED*' ,
185+ '*test_1.py::test_repeat1[[]2- 2[]] PASSED*' ,
186+ '*test_1.py::test_repeat2[[]1- 2[]] PASSED*' ,
187+ '*test_1.py::test_repeat2[[]2- 2[]] PASSED*' ,
188+ '*test_2.py::test_repeat3[[]1- 2[]] PASSED*' ,
189+ '*test_2.py::test_repeat3[[]2- 2[]] PASSED*' ,
190+ '*test_2.py::test_repeat4[[]1- 2[]] PASSED*' ,
191+ '*test_2.py::test_repeat4[[]2- 2[]] PASSED*' ,
192+ '*test_3.py::TestRepeat1::test_repeat5[[]1- 2[]] PASSED*' ,
193+ '*test_3.py::TestRepeat1::test_repeat5[[]2- 2[]] PASSED*' ,
194+ '*test_3.py::TestRepeat1::test_repeat6[[]1- 2[]] PASSED*' ,
195+ '*test_3.py::TestRepeat1::test_repeat6[[]2- 2[]] PASSED*' ,
196+ '*test_3.py::TestRepeat2::test_repeat7[[]1- 2[]] PASSED*' ,
197+ '*test_3.py::TestRepeat2::test_repeat7[[]2- 2[]] PASSED*' ,
198+ '*test_3.py::TestRepeat2::test_repeat8[[]1- 2[]] PASSED*' ,
199+ '*test_3.py::TestRepeat2::test_repeat8[[]2- 2[]] PASSED*' ,
200200 '*16 passed*' ,
201201 ]),
202202 ])
@@ -242,10 +242,10 @@ def test_repeat2():
242242 """ )
243243 result = testdir .runpytest ('-v' , '--count' , '2' )
244244 result .stdout .fnmatch_lines ([
245- '*test_omitted_scope.py::test_repeat1[[]1/ 2[]] PASSED*' ,
246- '*test_omitted_scope.py::test_repeat1[[]2/ 2[]] PASSED*' ,
247- '*test_omitted_scope.py::test_repeat2[[]1/ 2[]] PASSED*' ,
248- '*test_omitted_scope.py::test_repeat2[[]2/ 2[]] PASSED*' ,
245+ '*test_omitted_scope.py::test_repeat1[[]1- 2[]] PASSED*' ,
246+ '*test_omitted_scope.py::test_repeat1[[]2- 2[]] PASSED*' ,
247+ '*test_omitted_scope.py::test_repeat2[[]1- 2[]] PASSED*' ,
248+ '*test_omitted_scope.py::test_repeat2[[]2- 2[]] PASSED*' ,
249249 '*4 passed*' ,
250250 ])
251251 assert result .ret == 0
0 commit comments