Skip to content

Commit

Permalink
Merge pull request #20308 from BvB93/is_pyston
Browse files Browse the repository at this point in the history
MAINT: Add `IS_PYSTON` to `np.testing.__all__`
  • Loading branch information
charris committed Nov 5, 2021
2 parents 9ec8679 + 3930aea commit 7c21101
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions numpy/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from unittest import TestCase

from ._private.utils import *
from ._private.utils import (_assert_valid_refcount, _gen_alignment_data,
IS_PYSTON)
from ._private.utils import (_assert_valid_refcount, _gen_alignment_data)
from ._private import extbuild, decorators as dec
from ._private.nosetester import (
run_module_suite, NoseTester as Tester
Expand Down
2 changes: 1 addition & 1 deletion numpy/testing/_private/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'assert_allclose', 'IgnoreException', 'clear_and_catch_warnings',
'SkipTest', 'KnownFailureException', 'temppath', 'tempdir', 'IS_PYPY',
'HAS_REFCOUNT', 'suppress_warnings', 'assert_array_compare',
'assert_no_gc_cycles', 'break_cycles', 'HAS_LAPACK64'
'assert_no_gc_cycles', 'break_cycles', 'HAS_LAPACK64', 'IS_PYSTON',
]


Expand Down
1 change: 1 addition & 0 deletions numpy/testing/_private/utils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class suppress_warnings:

verbose: int
IS_PYPY: Final[bool]
IS_PYSTON: Final[bool]
HAS_REFCOUNT: Final[bool]
HAS_LAPACK64: Final[bool]

Expand Down

0 comments on commit 7c21101

Please sign in to comment.