Skip to content

TST: Use indices fixture in tests/indexes/test_base.py #32963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
8 changes: 8 additions & 0 deletions pandas/tests/indexes/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import pytest

import pandas._testing as tm


@pytest.fixture(params=[None, False])
def sort(request):
Expand All @@ -16,3 +18,9 @@ def sort(request):
in in the Index setops methods.
"""
return request.param


@pytest.fixture
def string_index():
""" Simple string index fixture """
return tm.makeStringIndex(100)
Loading