Skip to content

Commit 8f53afd

Browse files
sebergmattip
andauthored
Update numpy/core/tests/test_mem_policy.py
Co-authored-by: Matti Picus <[email protected]>
1 parent 4b21997 commit 8f53afd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy/core/tests/test_mem_policy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ def test_new_policy(get_module):
357357
c = np.arange(10)
358358
assert np.core.multiarray.get_handler_name(c) == orig_policy_name
359359

360+
@pytest.mark.xfail(sys.implementation.name == "pypy",
361+
reason=("bad interaction between getenv and "
362+
"os.environ inside pytest"))
360363
@pytest.mark.parametrize("policy", ["0", "1", None])
361364
def test_switch_owner(get_module, policy):
362365
a = get_module.get_array()

0 commit comments

Comments
 (0)