diff options
author | Mike Taves <mwtoews@gmail.com> | 2020-01-28 13:46:25 +1300 |
---|---|---|
committer | Mike Taves <mwtoews@gmail.com> | 2020-01-28 13:46:25 +1300 |
commit | d2f1d7704c5f55fc39cd040acf4a07ddce88319b (patch) | |
tree | 455248691e966ba665ac53bddf2fa4f2a689e538 /numpy/testing/_private/utils.py | |
parent | f398a0df8a2105b2fdeaeab54505451169b0a869 (diff) | |
download | numpy-d2f1d7704c5f55fc39cd040acf4a07ddce88319b.tar.gz |
STY,MAINT: avoid 'multiple imports on one line' (flake8 E401)
* PEP 8: "Imports should usually be on separate lines"
* Where modified, sort imported modules alphabetically
* Clean-up unused imports from these expanded lines
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r-- | numpy/testing/_private/utils.py | 4 |
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 |