Skip to content

Commit 7c21101

Browse files
authored
Merge pull request numpy#20308 from BvB93/is_pyston
MAINT: Add `IS_PYSTON` to `np.testing.__all__`
2 parents 9ec8679 + 3930aea commit 7c21101

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

numpy/testing/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
from unittest import TestCase
99

1010
from ._private.utils import *
11-
from ._private.utils import (_assert_valid_refcount, _gen_alignment_data,
12-
IS_PYSTON)
11+
from ._private.utils import (_assert_valid_refcount, _gen_alignment_data)
1312
from ._private import extbuild, decorators as dec
1413
from ._private.nosetester import (
1514
run_module_suite, NoseTester as Tester

numpy/testing/_private/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'assert_allclose', 'IgnoreException', 'clear_and_catch_warnings',
3636
'SkipTest', 'KnownFailureException', 'temppath', 'tempdir', 'IS_PYPY',
3737
'HAS_REFCOUNT', 'suppress_warnings', 'assert_array_compare',
38-
'assert_no_gc_cycles', 'break_cycles', 'HAS_LAPACK64'
38+
'assert_no_gc_cycles', 'break_cycles', 'HAS_LAPACK64', 'IS_PYSTON',
3939
]
4040

4141

numpy/testing/_private/utils.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ class suppress_warnings:
133133

134134
verbose: int
135135
IS_PYPY: Final[bool]
136+
IS_PYSTON: Final[bool]
136137
HAS_REFCOUNT: Final[bool]
137138
HAS_LAPACK64: Final[bool]
138139

0 commit comments

Comments
 (0)