summaryrefslogtreecommitdiff
path: root/numpy/testing
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-03-12 22:01:22 +0000
committerRalf Gommers <ralf.gommers@gmail.com>2023-03-12 22:31:28 +0000
commit1da1663196c95b3811ca84d9e335f32cfeb05e32 (patch)
treee6d432a66dd5c16051a4e1a400567b100200639a /numpy/testing
parentac6233b03df6562453ebda984f565f603e726710 (diff)
downloadnumpy-1da1663196c95b3811ca84d9e335f32cfeb05e32.tar.gz
MAINT: remove `NUMPY_EXPERIMENTAL_ARRAY_FUNCTION` env var
As discussed in https://mail.python.org/archives/list/numpy-discussion@python.org/thread/UKZJACAP5FUG7KP2AQDPE4P5ADNWLOHZ/ This flag was always meant to be temporary, and cleaning it up is long overdue.
Diffstat (limited to 'numpy/testing')
-rw-r--r--numpy/testing/tests/test_utils.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py
index 8f4912fab..0aaa508ee 100644
--- a/numpy/testing/tests/test_utils.py
+++ b/numpy/testing/tests/test_utils.py
@@ -14,7 +14,6 @@ from numpy.testing import (
clear_and_catch_warnings, suppress_warnings, assert_string_equal, assert_,
tempdir, temppath, assert_no_gc_cycles, HAS_REFCOUNT
)
-from numpy.core.overrides import ARRAY_FUNCTION_ENABLED
class _GenericTest:
@@ -191,8 +190,6 @@ class TestArrayEqual(_GenericTest):
self._test_not_equal(a, b)
self._test_not_equal(b, a)
- @pytest.mark.skipif(
- not ARRAY_FUNCTION_ENABLED, reason='requires __array_function__')
def test_subclass_that_does_not_implement_npall(self):
class MyArray(np.ndarray):
def __array_function__(self, *args, **kwargs):