summaryrefslogtreecommitdiff
path: root/numpy/testing/_private/utils.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-12-19 09:25:12 +0200
committermattip <matti.picus@gmail.com>2019-04-16 20:45:56 +0300
commitc09fadcc8220f4ac80f0dcc4d82d22f58ef2d6c1 (patch)
treeab56cb507b36fe8adad641fae8d3731362421b6e /numpy/testing/_private/utils.py
parent4c977804b4eaadf5ac1b4eb1024f8167657e976d (diff)
downloadnumpy-c09fadcc8220f4ac80f0dcc4d82d22f58ef2d6c1.tar.gz
DEV: add pypy3 to azure CI
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r--numpy/testing/_private/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py
index 1f7b516b3..3ace84415 100644
--- a/numpy/testing/_private/utils.py
+++ b/numpy/testing/_private/utils.py
@@ -2245,6 +2245,7 @@ def _assert_no_gc_cycles_context(name=None):
# not meaningful to test if there is no refcounting
if not HAS_REFCOUNT:
+ yield
return
assert_(gc.isenabled())