Skip to content

Commit 6c61efb

Browse files
committed
MNT: xfail flaky test on pypy
1 parent b1656d2 commit 6c61efb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numpy/tests/test_ctypeslib.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import numpy as np
99
from numpy.ctypeslib import as_array, load_library, ndpointer
10-
from numpy.testing import assert_, assert_array_equal, assert_equal, assert_raises
10+
from numpy.testing import assert_, assert_array_equal, assert_equal, assert_raises, IS_PYPY
1111

1212
try:
1313
import ctypes
@@ -204,6 +204,8 @@ def test_array(self):
204204
assert_equal(a.shape, (3, 2))
205205
assert_array_equal(a, np.array([[1, 2], [3, 4], [5, 6]]))
206206

207+
@pytest.mark.xfail(
208+
IS_PYPY, reason="Test is flaky on pypy, see pypy/pypy#5247")
207209
def test_pointer(self):
208210
from ctypes import POINTER, c_int, cast
209211

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy