We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2183e20 commit f563fd0Copy full SHA for f563fd0
pandas/tests/copy_view/test_array.py
@@ -140,7 +140,7 @@ def test_dataframe_multiple_numpy_dtypes():
140
assert not np.shares_memory(arr, get_array(df, "a"))
141
assert arr.flags.writeable is True
142
143
- if not np_version_gt2:
+ if np_version_gt2:
144
# copy=False semantics are only supported in NumPy>=2.
145
146
with pytest.raises(ValueError, match="Unable to avoid copy while creating"):
0 commit comments