Skip to content

TST: Parametrized index tests #20624

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
merged 13 commits into from
Apr 24, 2018
8 changes: 8 additions & 0 deletions pandas/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ def join_type(request):
Fixture for trying all types of join operations
"""
return request.param


@pytest.fixture(params=[numpy.nan, pandas.NaT])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need None as well

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use np and pd

def nulls_fixture(request):
"""
Fixture for each null type in pandas
"""
return request.param
Loading