diff options
author | Matti Picus <matti.picus@gmail.com> | 2021-07-08 00:22:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 00:22:38 +0300 |
commit | d78893c1116b3ada9eb1ebbddc17aee69693eb5c (patch) | |
tree | c9fb5c042829925cf01accfe5355d914dd4798d7 /numpy/testing/_private | |
parent | 068074f4acab87b0fabf194517b7dfb0f038af5a (diff) | |
parent | 22848046920d58ba91893e003b1a07ed9f763275 (diff) | |
download | numpy-d78893c1116b3ada9eb1ebbddc17aee69693eb5c.tar.gz |
Merge pull request #19423 from Schleehauf/main
Skip finite recursion and refcounting tests for pyston
Diffstat (limited to 'numpy/testing/_private')
-rw-r--r-- | numpy/testing/_private/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index 487aa0b4c..77ca4ef85 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -48,7 +48,8 @@ KnownFailureTest = KnownFailureException # backwards compat verbose = 0 IS_PYPY = platform.python_implementation() == 'PyPy' -HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None +IS_PYSTON = hasattr(sys, "pyston_version_info") +HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON HAS_LAPACK64 = numpy.linalg.lapack_lite._ilp64 |