summaryrefslogtreecommitdiff
path: root/numpy/testing/tests
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/tests
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/tests')
-rw-r--r--numpy/testing/tests/test_decorators.py2
-rw-r--r--numpy/testing/tests/test_utils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/tests/test_decorators.py b/numpy/testing/tests/test_decorators.py
index f3e142d54..36c7cc7bb 100644
--- a/numpy/testing/tests/test_decorators.py
+++ b/numpy/testing/tests/test_decorators.py
@@ -7,7 +7,7 @@ import nose
def test_slow():
@dec.slow
- def slow_func(x,y,z):
+ def slow_func(x, y, z):
pass
assert_(slow_func.slow)
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py
index cbc8cd23e..94fc4d655 100644
--- a/numpy/testing/tests/test_utils.py
+++ b/numpy/testing/tests/test_utils.py
@@ -194,7 +194,7 @@ class TestArrayAlmostEqual(_GenericTest, unittest.TestCase):
def test_inf(self):
a = np.array([[1., 2.], [3., 4.]])
b = a.copy()
- a[0,0] = np.inf
+ a[0, 0] = np.inf
self.assertRaises(AssertionError,
lambda : self._assert_func(a, b))