From bb95cf015165bcf85f99ba0d28a7a6e727ca955b Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Sat, 18 Dec 2021 19:05:35 +0200 Subject: DEP: remove NPY_ARRAY_UPDATEIFCOPY, deprecated in 1.14 (#20589) * DEP: remove NPY_ARRAY_UPDATEIFCOPY, deprecated in 1.14 * remove more UPDATEIFCOPY * typo: add missing comma * remove a few more UPDATEIFCOPY * Add release note * remove UPDATEIFCOPY from comment (from review) --- numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c | 1 - numpy/f2py/tests/test_array_from_pyobj.py | 1 - 2 files changed, 2 deletions(-) (limited to 'numpy/f2py/tests') diff --git a/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c b/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c index ea47e0555..c8ae7b9dc 100644 --- a/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +++ b/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c @@ -202,7 +202,6 @@ PyMODINIT_FUNC PyInit_test_array_from_pyobj_ext(void) { ADDCONST("ENSUREARRAY", NPY_ARRAY_ENSUREARRAY); ADDCONST("ALIGNED", NPY_ARRAY_ALIGNED); ADDCONST("WRITEABLE", NPY_ARRAY_WRITEABLE); - ADDCONST("UPDATEIFCOPY", NPY_ARRAY_UPDATEIFCOPY); ADDCONST("WRITEBACKIFCOPY", NPY_ARRAY_WRITEBACKIFCOPY); ADDCONST("BEHAVED", NPY_ARRAY_BEHAVED); diff --git a/numpy/f2py/tests/test_array_from_pyobj.py b/numpy/f2py/tests/test_array_from_pyobj.py index f7c32f068..5a084bc3e 100644 --- a/numpy/f2py/tests/test_array_from_pyobj.py +++ b/numpy/f2py/tests/test_array_from_pyobj.py @@ -56,7 +56,6 @@ def flags2names(flags): "NOTSWAPPED", "WRITEABLE", "WRITEBACKIFCOPY", - "UPDATEIFCOPY", "BEHAVED", "BEHAVED_RO", "CARRAY", -- cgit v1.2.1