Skip to content

Commit 5b2a0d3

Browse files
committed
TST: try deep copy in fixture
1 parent 8b81e55 commit 5b2a0d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def index_with_missing(request):
444444
"""
445445
if request.param in ["int", "uint", "range", "empty", "repeats"]:
446446
pytest.xfail("missing values not supported")
447-
ind = indices_dict[request.param].copy()
447+
ind = indices_dict[request.param].copy(deep=True)
448448
vals = ind.values
449449
if type(vals[0]) == tuple:
450450
# For setting missing values in the top level of MultiIndex

0 commit comments

Comments
 (0)