Skip to content

Commit d9a150c

Browse files
add params pytest fixture
1 parent 5a0c91e commit d9a150c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/conftest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,12 @@ def mock():
501501
return pytest.importorskip("mock")
502502

503503

504+
@pytest.fixture(params=[True, False])
505+
def box(request):
506+
"""Whether to box the data in a Series"""
507+
return request.param
508+
509+
504510
# ----------------------------------------------------------------
505511
# Global setup for tests using Hypothesis
506512

0 commit comments

Comments
 (0)