diff options
author | mattip <matti.picus@gmail.com> | 2023-02-07 18:00:46 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2023-02-07 22:05:23 +0200 |
commit | 790426e16466af4ef05ed295a27cbf5e7ff76a14 (patch) | |
tree | 97ffa14619f426439b26bb3983521031e0bd3ab2 /numpy/conftest.py | |
parent | 26978d72e795dc6cd2f31150e1f9d016b41dcf5c (diff) | |
download | numpy-790426e16466af4ef05ed295a27cbf5e7ff76a14.tar.gz |
TST, BUG: add a test for unary ufuncs, fix condition for indexed loops
Diffstat (limited to 'numpy/conftest.py')
-rw-r--r-- | numpy/conftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/conftest.py b/numpy/conftest.py index 8aa6587ee..d450cc99b 100644 --- a/numpy/conftest.py +++ b/numpy/conftest.py @@ -40,6 +40,8 @@ hypothesis.settings.load_profile( "numpy-profile" if os.path.isfile(_pytest_ini) else "np.test() profile" ) +# The experimentalAPI is used in _umath_tests +os.environ["NUMPY_EXPERIMENTAL_DTYPE_API"] = "1" def pytest_configure(config): config.addinivalue_line("markers", |