summaryrefslogtreecommitdiff
path: root/numpy/testing/_private/utils.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-01-29 07:19:06 +0200
committerGitHub <noreply@github.com>2020-01-29 07:19:06 +0200
commit29873a0e03bf931b6216cf07be37f900413cf763 (patch)
tree37a687b81cd3882627dcfbe9a59d36766486021f /numpy/testing/_private/utils.py
parente0d289c5c910aef13f9aa8b7b549bb5f601b6e15 (diff)
parentd2f1d7704c5f55fc39cd040acf4a07ddce88319b (diff)
downloadnumpy-29873a0e03bf931b6216cf07be37f900413cf763.tar.gz
Merge pull request #15452 from mwtoews/E401
STY,MAINT: avoid 'multiple imports on one line'
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r--numpy/testing/_private/utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py
index 8b098f1d1..67b7d317c 100644
--- a/numpy/testing/_private/utils.py
+++ b/numpy/testing/_private/utils.py
@@ -1444,7 +1444,9 @@ def _assert_valid_refcount(op):
"""
if not HAS_REFCOUNT:
return True
- import numpy as np, gc
+
+ import gc
+ import numpy as np
b = np.arange(100*100).reshape(100, 100)
c = b