10000 TYP: Backport typing fixes from main (4) by charris · Pull Request #28542 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TYP: Backport typing fixes from main (4) #28542

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

Merged
merged 7 commits into from
Mar 16, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
TYP: fix stubtest errors in numpy.testing (#28539)
Ported from numpy/numtype#252
  • Loading branch information
jorenham authored and charris committed Mar 16, 2025
commit bed0064322e5f5c19fa108f7fe8a16cc9e141f2c
128 changes: 66 additions & 62 deletions numpy/testing/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,97 +2,101 @@ from unittest import TestCase

from . import overrides
from ._private.utils import (
NOGIL_BUILD,
IS_WASM,
HAS_LAPACK64,
HAS_REFCOUNT,
IS_EDITABLE,
IS_INSTALLED,
IS_MUSL,
IS_PYPY,
IS_PYSTON,
IS_MUSL,
IS_EDITABLE,
HAS_REFCOUNT,
HAS_LAPACK64,
assert_equal,
IS_WASM,
NOGIL_BUILD,
NUMPY_ROOT,
IgnoreException,
KnownFailureException,
SkipTest,
assert_,
assert_allclose,
assert_almost_equal,
assert_approx_equal,
assert_array_almost_equal,
assert_array_almost_equal_nulp,
assert_array_compare,
assert_array_equal,
assert_array_less,
assert_string_equal,
assert_array_almost_equal,
assert_array_max_ulp,
assert_equal,
assert_no_gc_cycles,
assert_no_warnings,
assert_raises,
assert_raises_regex,
assert_string_equal,
assert_warns,
break_cycles,
build_err_msg,
check_support_sve,
clear_and_catch_warnings,
decorate_methods,
jiffies,
measure,
memusage,
print_assert_equal,
run_threaded,
rundocs,
runstring,
verbose,
measure,
assert_,
assert_array_almost_equal_nulp,
assert_raises_regex,
assert_array_max_ulp,
assert_warns,
assert_no_warnings,
assert_allclose,
IgnoreException,
clear_and_catch_warnings,
SkipTest,
KnownFailureException,
temppath,
tempdir,
suppress_warnings,
assert_array_compare,
assert_no_gc_cycles,
break_cycles,
check_support_sve,
run_threaded,
tempdir,
temppath,
verbose,
)

__all__ = [
"assert_equal",
"HAS_LAPACK64",
"HAS_REFCOUNT",
"IS_EDITABLE",
"IS_INSTALLED",
"IS_MUSL",
"IS_PYPY",
"IS_PYSTON",
"IS_WASM",
"NOGIL_BUILD",
"NUMPY_ROOT",
"IgnoreException",
"KnownFailureException",
"SkipTest",
"TestCase",
"assert_",
"assert_allclose",
"assert_almost_equal",
"assert_approx_equal",
"assert_array_almost_equal",
"assert_array_almost_equal_nulp",
"assert_array_compare",
"assert_array_equal",
"assert_array_less",
"assert_string_equal",
"assert_array_almost_equal",
"assert_array_max_ulp",
"assert_equal",
"assert_no_gc_cycles",
"assert_no_warnings",
"assert_raises",
"assert_raises_regex",
"assert_string_equal",
"assert_warns",
"break_cycles",
"build_err_msg",
"check_support_sve",
"clear_and_catch_warnings",
"decorate_methods",
"jiffies",
"measure",
"memusage",
"overrides",
"print_assert_equal",
"run_threaded",
"rundocs",
"runstring",
"verbose",
"measure",
"assert_",
"assert_array_almost_equal_nulp",
"assert_raises_regex",
"assert_array_max_ulp",
"assert_warns",
"assert_no_warnings",
"assert_allclose",
"IgnoreException",
"clear_and_catch_warnings",
"SkipTest",
"KnownFailureException",
"temppath",
"tempdir",
"IS_PYPY",
"HAS_REFCOUNT",
"IS_WASM",
"suppress_warnings",
"assert_array_compare",
"assert_no_gc_cycles",
"break_cycles",
"HAS_LAPACK64",
"IS_PYSTON",
"IS_MUSL",
"check_support_sve",
"NOGIL_BUILD",
"IS_EDITABLE",
"run_threaded",
"TestCase",
"overrides",
"tempdir",
"temppath",
"verbose",
]
Loading
0