From 49322ce344af66c05d9610ee539b26cb0d586a14 Mon Sep 17 00:00:00 2001 From: Sadra Barikbin Date: Fri, 29 Dec 2023 22:43:54 +0330 Subject: [PATCH] Remove a redundant test --- testing/python/metafunc.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/testing/python/metafunc.py b/testing/python/metafunc.py index eac988871..6c9bf2a21 100644 --- a/testing/python/metafunc.py +++ b/testing/python/metafunc.py @@ -995,14 +995,6 @@ class TestMetafunc: assert metafunc._calls[2].indices == dict(x=0, y=2) assert metafunc._calls[3].indices == dict(x=2, y=0) - def test_parametrize_with_unhashable_duplicate_values(self) -> None: - metafunc = self.Metafunc(lambda x: None) - metafunc.parametrize("x", [[1], [2], [1]]) - assert len(metafunc._calls) == 3 - assert metafunc._calls[0].indices == dict(x=0) - assert metafunc._calls[1].indices == dict(x=1) - assert metafunc._calls[2].indices == dict(x=2) - def test_high_scoped_parametrize_reordering(self, pytester: Pytester) -> None: pytester.makepyfile( """