Skip to content

Commit 34e8f03

Browse files
committed
Fix fixture
1 parent 63069b8 commit 34e8f03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/arrays/numpy_/test_numpy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
np.array([True, False], dtype=bool),
2323
np.array([0, 1], dtype="datetime64[ns]"),
2424
np.array([0, 1], dtype="timedelta64[ns]"),
25-
]
25+
],
2626
)
2727
def any_numpy_array(request):
2828
"""
2929
Parametrized fixture for NumPy arrays with different dtypes.
3030
3131
This excludes string and bytes.
3232
"""
33-
return request.param
33+
return request.param.copy()
3434

3535

3636
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)