summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test__iotools.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2009-10-20 21:35:53 +0000
committerCharles Harris <charlesr.harris@gmail.com>2009-10-20 21:35:53 +0000
commit549d7bda0ba075538e803e836f66e9cfd6d85a53 (patch)
tree9a20b5872a2592cb00f35a2ce043ff058d34a596 /numpy/lib/tests/test__iotools.py
parent4c297e11801dd9a27a35179b8ae2058a6d1c948e (diff)
downloadnumpy-549d7bda0ba075538e803e836f66e9cfd6d85a53.tar.gz
Hard tab removal.
Trailing whitespace removal. Some coding style cleanups.
Diffstat (limited to 'numpy/lib/tests/test__iotools.py')
-rw-r--r--numpy/lib/tests/test__iotools.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/lib/tests/test__iotools.py b/numpy/lib/tests/test__iotools.py
index 11ce4047b..aa067115e 100644
--- a/numpy/lib/tests/test__iotools.py
+++ b/numpy/lib/tests/test__iotools.py
@@ -245,20 +245,20 @@ class TestMiscFunctions(TestCase):
# As list of tuples w/o names
ndtype = [('A', int), ('B', float)]
assert_equal(easy_dtype(ndtype), np.dtype([('A', int), ('B', float)]))
- # As list of tuples w/ names
+ # As list of tuples w/ names
assert_equal(easy_dtype(ndtype, names="a,b"),
np.dtype([('a', int), ('b', float)]))
- # As list of tuples w/ not enough names
+ # As list of tuples w/ not enough names
assert_equal(easy_dtype(ndtype, names="a"),
np.dtype([('a', int), ('f0', float)]))
- # As list of tuples w/ too many names
+ # As list of tuples w/ too many names
assert_equal(easy_dtype(ndtype, names="a,b,c"),
np.dtype([('a', int), ('b', float)]))
- # As list of types w/o names
+ # As list of types w/o names
ndtype = (int, float, float)
assert_equal(easy_dtype(ndtype),
np.dtype([('f0', int), ('f1', float), ('f2', float)]))
- # As list of types w names
+ # As list of types w names
ndtype = (int, float, float)
assert_equal(easy_dtype(ndtype, names="a, b, c"),
np.dtype([('a', int), ('b', float), ('c', float)]))