|
15 | 15 | import coverage_pyver_pragma
|
16 | 16 |
|
17 | 17 |
|
18 |
| -@pytest.mark.parametrize("version", [ |
19 |
| - pytest.param("3.6", marks=only_version(3.6, "Output differs on each version.")), |
20 |
| - pytest.param("3.7", marks=only_version(3.7, "Output differs on each version.")), |
21 |
| - pytest.param("3.8", marks=only_version(3.8, "Output differs on each version.")), |
22 |
| - pytest.param("3.9", marks=only_version(3.9, "Output differs on each version.")), |
23 |
| - pytest.param("3.10", marks=only_version("3.10", "Output differs on each version.")), |
24 |
| - ]) |
| 18 | +@pytest.mark.parametrize( |
| 19 | + "version", |
| 20 | + [ |
| 21 | + pytest.param("3.6", marks=only_version(3.6, "Output differs on each version.")), |
| 22 | + pytest.param("3.7", marks=only_version(3.7, "Output differs on each version.")), |
| 23 | + pytest.param("3.8", marks=only_version(3.8, "Output differs on each version.")), |
| 24 | + pytest.param("3.9", marks=only_version(3.9, "Output differs on each version.")), |
| 25 | + pytest.param("3.10", marks=only_version("3.10", "Output differs on each version.")), |
| 26 | + ] |
| 27 | + ) |
25 | 28 | def test_plugin(tmp_pathplus: PathPlus, file_regression: FileRegressionFixture, version):
|
26 | 29 | coverage_pyver_pragma.coverage_init()
|
27 | 30 |
|
|
0 commit comments