diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-10-30 12:53:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 12:53:46 -0500 |
commit | 8f53afdeca22ad1ca7636f9023a36daf525eadd5 (patch) | |
tree | f28d1af642aeb2aefa6a5486d848e46f371ea9dc | |
parent | 4b219979759945e231d03c60804930e3e65a4c1d (diff) | |
download | numpy-8f53afdeca22ad1ca7636f9023a36daf525eadd5.tar.gz |
Update numpy/core/tests/test_mem_policy.py
Co-authored-by: Matti Picus <matti.picus@gmail.com>
-rw-r--r-- | numpy/core/tests/test_mem_policy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/tests/test_mem_policy.py b/numpy/core/tests/test_mem_policy.py index 90971908d..7fec8897f 100644 --- a/numpy/core/tests/test_mem_policy.py +++ b/numpy/core/tests/test_mem_policy.py @@ -357,6 +357,9 @@ def test_new_policy(get_module): c = np.arange(10) assert np.core.multiarray.get_handler_name(c) == orig_policy_name +@pytest.mark.xfail(sys.implementation.name == "pypy", + reason=("bad interaction between getenv and " + "os.environ inside pytest")) @pytest.mark.parametrize("policy", ["0", "1", None]) def test_switch_owner(get_module, policy): a = get_module.get_array() |