@@ -159,7 +159,7 @@ def func(x, y):
159159 ("x" , "y" ), [("abc" , "def" ), ("ghi" , "jkl" )], ids = ["one" ]
160160 )
161161
162- @pytest .mark .issue510
162+ @pytest .mark .issue ( 510 )
163163 def test_parametrize_empty_list (self ):
164164 def func (y ):
165165 pass
@@ -262,7 +262,7 @@ def test_function():
262262 for val , expected in values :
263263 assert _idval (val , "a" , 6 , None , item = None , config = None ) == expected
264264
265- @pytest .mark .issue250
265+ @pytest .mark .issue ( 250 )
266266 def test_idmaker_autoname (self ):
267267 from _pytest .python import idmaker
268268
@@ -356,7 +356,7 @@ def test_idmaker_enum(self):
356356 result = idmaker (("a" , "b" ), [pytest .param (e .one , e .two )])
357357 assert result == ["Foo.one-Foo.two" ]
358358
359- @pytest .mark .issue351
359+ @pytest .mark .issue ( 351 )
360360 def test_idmaker_idfn (self ):
361361 from _pytest .python import idmaker
362362
@@ -375,7 +375,7 @@ def ids(val):
375375 )
376376 assert result == ["10.0-IndexError()" , "20-KeyError()" , "three-b2" ]
377377
378- @pytest .mark .issue351
378+ @pytest .mark .issue ( 351 )
379379 def test_idmaker_idfn_unique_names (self ):
380380 from _pytest .python import idmaker
381381
@@ -459,7 +459,7 @@ def test_idmaker_with_ids_unique_names(self):
459459 )
460460 assert result == ["a0" , "a1" , "b0" , "c" , "b1" ]
461461
462- @pytest .mark .issue714
462+ @pytest .mark .issue ( 714 )
463463 def test_parametrize_indirect (self ):
464464 def func (x , y ):
465465 pass
@@ -473,7 +473,7 @@ def func(x, y):
473473 assert metafunc ._calls [0 ].params == dict (x = 1 , y = 2 )
474474 assert metafunc ._calls [1 ].params == dict (x = 1 , y = 3 )
475475
476- @pytest .mark .issue714
476+ @pytest .mark .issue ( 714 )
477477 def test_parametrize_indirect_list (self ):
478478 def func (x , y ):
479479 pass
@@ -483,7 +483,7 @@ def func(x, y):
483483 assert metafunc ._calls [0 ].funcargs == dict (y = "b" )
484484 assert metafunc ._calls [0 ].params == dict (x = "a" )
485485
486- @pytest .mark .issue714
486+ @pytest .mark .issue ( 714 )
487487 def test_parametrize_indirect_list_all (self ):
488488 def func (x , y ):
489489 pass
@@ -493,7 +493,7 @@ def func(x, y):
493493 assert metafunc ._calls [0 ].funcargs == {}
494494 assert metafunc ._calls [0 ].params == dict (x = "a" , y = "b" )
495495
496- @pytest .mark .issue714
496+ @pytest .mark .issue ( 714 )
497497 def test_parametrize_indirect_list_empty (self ):
498498 def func (x , y ):
499499 pass
@@ -503,7 +503,7 @@ def func(x, y):
503503 assert metafunc ._calls [0 ].funcargs == dict (x = "a" , y = "b" )
504504 assert metafunc ._calls [0 ].params == {}
505505
506- @pytest .mark .issue714
506+ @pytest .mark .issue ( 714 )
507507 def test_parametrize_indirect_list_functional (self , testdir ):
508508 """
509509 Test parametrization with 'indirect' parameter applied on
@@ -532,7 +532,7 @@ def test_simple(x,y):
532532 result = testdir .runpytest ("-v" )
533533 result .stdout .fnmatch_lines (["*test_simple*a-b*" , "*1 passed*" ])
534534
535- @pytest .mark .issue714
535+ @pytest .mark .issue ( 714 )
536536 def test_parametrize_indirect_list_error (self , testdir ):
537537 def func (x , y ):
538538 pass
@@ -541,7 +541,7 @@ def func(x, y):
541541 with pytest .raises (pytest .fail .Exception ):
542542 metafunc .parametrize ("x, y" , [("a" , "b" )], indirect = ["x" , "z" ])
543543
544- @pytest .mark .issue714
544+ @pytest .mark .issue ( 714 )
545545 def test_parametrize_uses_no_fixture_error_indirect_false (self , testdir ):
546546 """The 'uses no fixture' error tells the user at collection time
547547 that the parametrize data they've set up doesn't correspond to the
@@ -560,7 +560,7 @@ def test_simple(x):
560560 result = testdir .runpytest ("--collect-only" )
561561 result .stdout .fnmatch_lines (["*uses no argument 'y'*" ])
562562
563- @pytest .mark .issue714
563+ @pytest .mark .issue ( 714 )
564564 def test_parametrize_uses_no_fixture_error_indirect_true (self , testdir ):
565565 testdir .makepyfile (
566566 """
@@ -580,7 +580,7 @@ def test_simple(x):
580580 result = testdir .runpytest ("--collect-only" )
581581 result .stdout .fnmatch_lines (["*uses no fixture 'y'*" ])
582582
583- @pytest .mark .issue714
583+ @pytest .mark .issue ( 714 )
584584 def test_parametrize_indirect_uses_no_fixture_error_indirect_string (self , testdir ):
585585 testdir .makepyfile (
586586 """
@@ -597,7 +597,7 @@ def test_simple(x):
597597 result = testdir .runpytest ("--collect-only" )
598598 result .stdout .fnmatch_lines (["*uses no fixture 'y'*" ])
599599
600- @pytest .mark .issue714
600+ @pytest .mark .issue ( 714 )
601601 def test_parametrize_indirect_uses_no_fixture_error_indirect_list (self , testdir ):
602602 testdir .makepyfile (
603603 """
@@ -614,7 +614,7 @@ def test_simple(x):
614614 result = testdir .runpytest ("--collect-only" )
615615 result .stdout .fnmatch_lines (["*uses no fixture 'y'*" ])
616616
617- @pytest .mark .issue714
617+ @pytest .mark .issue ( 714 )
618618 def test_parametrize_argument_not_in_indirect_list (self , testdir ):
619619 testdir .makepyfile (
620620 """
@@ -1201,7 +1201,7 @@ def test_foo(x):
12011201 reprec = testdir .runpytest ()
12021202 reprec .assert_outcomes (passed = 4 )
12031203
1204- @pytest .mark .issue463
1204+ @pytest .mark .issue ( 463 )
12051205 @pytest .mark .parametrize ("attr" , ["parametrise" , "parameterize" , "parameterise" ])
12061206 def test_parametrize_misspelling (self , testdir , attr ):
12071207 testdir .makepyfile (
@@ -1386,7 +1386,7 @@ def pytest_generate_tests(metafunc):
13861386 assert output .count ("preparing foo-3" ) == 1
13871387
13881388
1389- @pytest .mark .issue308
1389+ @pytest .mark .issue ( 308 )
13901390class TestMarkersWithParametrization (object ):
13911391 def test_simple_mark (self , testdir ):
13921392 s = """
@@ -1575,7 +1575,7 @@ def test_increment(n, expected):
15751575 reprec = testdir .inline_run (SHOW_PYTEST_WARNINGS_ARG )
15761576 reprec .assertoutcome (passed = 2 , skipped = 2 )
15771577
1578- @pytest .mark .issue290
1578+ @pytest .mark .issue ( 290 )
15791579 def test_parametrize_ID_generation_string_int_works (self , testdir ):
15801580 testdir .makepyfile (
15811581 """
0 commit comments