summaryrefslogtreecommitdiff
path: root/numpy/core/tests
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2020-01-28 13:46:25 +1300
committerMike Taves <mwtoews@gmail.com>2020-01-28 13:46:25 +1300
commitd2f1d7704c5f55fc39cd040acf4a07ddce88319b (patch)
tree455248691e966ba665ac53bddf2fa4f2a689e538 /numpy/core/tests
parentf398a0df8a2105b2fdeaeab54505451169b0a869 (diff)
downloadnumpy-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/core/tests')
-rw-r--r--numpy/core/tests/test_scalarprint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/tests/test_scalarprint.py b/numpy/core/tests/test_scalarprint.py
index 126191856..6502ec4c1 100644
--- a/numpy/core/tests/test_scalarprint.py
+++ b/numpy/core/tests/test_scalarprint.py
@@ -2,9 +2,10 @@
""" Test printing of scalar types.
"""
-import code, sys
+import code
import platform
import pytest
+import sys
from tempfile import TemporaryFile
import numpy as np