Skip to content

Commit

Permalink
Merge pull request #470 from mgorny/getrefcount
Browse files Browse the repository at this point in the history
Skip test requiring sys.getrefcount() on PyPy
  • Loading branch information
FrancescAlted authored Jan 25, 2024
2 parents bec47c7 + 55ae6d1 commit bd3316b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numexpr/tests/test_numexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ def test_where_scalar_bool(self):
res = evaluate('where(a, b, c)')
assert_array_equal(res, c)


@unittest.skipIf(hasattr(sys, "pypy_version_info"),
"PyPy does not have sys.getrefcount()")
def test_refcount(self):
# Regression test for issue #310
a = array([1])
Expand Down

0 comments on commit bd3316b

Please sign in to comment.