From 54b074bbe17664066358a3baaf8df248f9c2dafb Mon Sep 17 00:00:00 2001 From: Tanya Agarwal Date: Sun, 8 Oct 2023 17:30:38 +0530 Subject: [PATCH] Bug Fix 11456: Duplicated parameters in @pytest.mark.parametrize --- testing/test_python.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/test_python.py diff --git a/testing/test_python.py b/testing/test_python.py new file mode 100644 index 000000000..117571bc1 --- /dev/null +++ b/testing/test_python.py @@ -0,0 +1,11 @@ +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(a): + print('a:', a) + assert a > 0