Bug Fix 11456: Duplicated parameters in @pytest.mark.parametrize
This commit is contained in:
parent
d7f0fae8e4
commit
053745501f
|
@ -1,13 +0,0 @@
|
||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("a", [1, 2, 10, 11, 2, 1, 12, 11, 2_1])
|
|
||||||
def test_params(a):
|
|
||||||
print("a:", a)
|
|
||||||
assert a > 0
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("a", [1, 2, 10, 11, 2, 1, 12, 11])
|
|
||||||
def test_params_1(a):
|
|
||||||
print("a:", a)
|
|
||||||
assert a > 0
|
|
Loading…
Reference in New Issue