Skip to content

Commit e8185b4

Browse files
committed
test algos
1 parent 7efb7a8 commit e8185b4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/tests/test_algos.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,10 @@ def test_factorize_complex(self):
6464
tm.assert_numpy_array_equal(uniques, expected_uniques)
6565

6666
@pytest.mark.parametrize(
67-
"index_or_series_obj", [[1, 2, 3], ["a", "b", "c"], [0, "a", 1, "b", 2, "c"]]
68-
)
67+
"param_obj", [[1, 2, 3], ["a", "b", "c"], [0, "a", 1, "b", 2, "c"]])
6968
@pytest.mark.parametrize("sort", [True, False])
70-
def test_factorize(self, index_or_series_obj, sort):
71-
obj = Index(index_or_series_obj)
69+
def test_factorize(self, param_obj, sort):
70+
obj = Index(param_obj)
7271

7372
if obj.empty:
7473
pytest.skip("Skipping test for empty Index")

0 commit comments

Comments
 (0)