Skip to content

Commit af62da8

Browse files
fixup skipif
1 parent 5a5170e commit af62da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/numpy_/test_numpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def test_to_numpy_readonly():
170170
assert result.flags.writeable
171171

172172

173-
@pytest.mark.skipif(not np_version_gt2)
173+
@pytest.mark.skipif(not np_version_gt2, reason="copy keyword introduced in np 2.0")
174174
@pytest.mark.parametrize("dtype", [None, "int64"])
175175
def test_asarray_readonly(dtype):
176176
arr = NumpyExtensionArray(np.array([1, 2, 3], dtype="int64"))

0 commit comments

Comments
 (0)