summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-11-13 06:15:11 -0700
committerGitHub <noreply@github.com>2018-11-13 06:15:11 -0700
commitd176283eae62de443112769e5e8ad165a9f961ac (patch)
tree9ea636fb97b2a0752325fec64d492143ed32bfd8 /numpy/core
parentb64e418cc746adf86a7f13be7dc5005c8cedcb17 (diff)
downloadnumpy-d176283eae62de443112769e5e8ad165a9f961ac.tar.gz
STY: Minor style fixups.
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/tests/test_dtype.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/core/tests/test_dtype.py b/numpy/core/tests/test_dtype.py
index 39493d52d..cfb67f592 100644
--- a/numpy/core/tests/test_dtype.py
+++ b/numpy/core/tests/test_dtype.py
@@ -848,13 +848,12 @@ class TestFromCTypes(object):
('e', ctypes.c_uint32),
('f', ctypes.c_uint32),
('g', ctypes.c_uint8)
- ]
+ ]
expected = np.dtype(dict(
formats=[np.uint8, np.uint16, np.uint8, np.uint16, np.uint32, np.uint32, np.uint8 ],
offsets=[0, 2, 4, 6, 8, 12, 16],
names=['a', 'b', 'c', 'd', 'e', 'f', 'g'],
- itemsize=18
- ))
+ itemsize=18))
self.check(PackedStructure, expected)
@pytest.mark.xfail(sys.byteorder != 'little',