Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ngoldbaum wants to merge1 commit intonumpy:main
base:main
Choose a base branch
Loading
fromngoldbaum:pypy-flaky
Draft
Changes fromall 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
10 changes: 9 additions & 1 deletionnumpy/tests/test_ctypeslib.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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

[8]ページ先頭

©2009-2025 Movatter.jp