Skip to content

MNT: xfail flaky test on pypy #29014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MNT: xfail flaky test on pypy
  • Loading branch information
ngoldbaum committed May 20, 2025
commit 8bb29e02aae817627c1d10a0c5a8adba4cae5ca0
10 changes: 9 additions & 1 deletion numpy/tests/test_ctypeslib.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@

import numpy as np
from numpy.ctypeslib import as_array, load_library, ndpointer
from numpy.testing import assert_, assert_array_equal, assert_equal, assert_raises
from numpy.testing import (
IS_PYPY,
assert_,
assert_array_equal,
assert_equal,
assert_raises,
)

try:
import ctypes
Expand Down Expand Up @@ -204,6 +210,8 @@ def test_array(self):
assert_equal(a.shape, (3, 2))
assert_array_equal(a, np.array([[1, 2], [3, 4], [5, 6]]))

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

Expand Down
Loading
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