summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Haldane <allan.haldane@gmail.com>2018-12-26 13:09:37 -0500
committerAllan Haldane <allan.haldane@gmail.com>2018-12-26 13:09:37 -0500
commitd3beaaacb3d28dbc4c6bcf8709857b561b37a8cc (patch)
tree380c5d01d7d7e9906da301fc8beadc99733f9ff9
parent6b8a730319934e24d2251fc1cf1a9e244b3b2517 (diff)
downloadnumpy-d3beaaacb3d28dbc4c6bcf8709857b561b37a8cc.tar.gz
MAINT: add test for 12-byte alignment
-rw-r--r--numpy/core/tests/test_multiarray.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py
index 951c01c6d..91f4526bd 100644
--- a/numpy/core/tests/test_multiarray.py
+++ b/numpy/core/tests/test_multiarray.py
@@ -8000,10 +8000,10 @@ class TestAlignment(object):
raise ValueError()
def test_various_alignments(self):
- for align in [1, 2, 3, 4, 8, 16, 32, 64, None]:
+ for align in [1, 2, 3, 4, 8, 12, 16, 32, 64, None]:
for n in [0, 1, 3, 11]:
for order in ["C", "F", None]:
- for dtype in np.typecodes["All"]:
+ for dtype in list(np.typecodes["All"]) + ['i4,i4,i4']:
if dtype == 'O':
# object dtype can't be misaligned
continue