summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/testing/numpytest.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 2120975df..d83a21d83 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -15,7 +15,7 @@ def importall(package):
warnings.warn("`importall is deprecated, and will be remobed in numpy 1.9.0",
DeprecationWarning)
- if isinstance(package,str):
+ if isinstance(package, str):
package = __import__(package)
package_name = package.__name__
@@ -24,7 +24,7 @@ def importall(package):
subdir = os.path.join(package_dir, subpackage_name)
if not os.path.isdir(subdir):
continue
- if not os.path.isfile(os.path.join(subdir,'__init__.py')):
+ if not os.path.isfile(os.path.join(subdir, '__init__.py')):
continue
name = package_name+'.'+subpackage_name
try: