summaryrefslogtreecommitdiff
path: root/numpy/testing/_private/utils.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-07-28 15:43:38 +0300
committermattip <matti.picus@gmail.com>2020-07-30 00:08:35 +0300
commitcf5e7665fdd764a6647f2b62d2740bb431180794 (patch)
treec3604726e27588507cba43e32c5312eb9260f31e /numpy/testing/_private/utils.py
parentd28ac9aa5e2158f8418d446b55cff5772392c35f (diff)
downloadnumpy-cf5e7665fdd764a6647f2b62d2740bb431180794.tar.gz
TST: fix tests for windows + PyPy
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r--numpy/testing/_private/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py
index 3827b7505..4fc22dceb 100644
--- a/numpy/testing/_private/utils.py
+++ b/numpy/testing/_private/utils.py
@@ -2403,7 +2403,8 @@ def break_cycles():
if IS_PYPY:
# interpreter runs now, to call deleted objects' __del__ methods
gc.collect()
- # one more, just to make sure
+ # two more, just to make sure
+ gc.collect()
gc.collect()