summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-12-27 10:38:18 -0700
committerGitHub <noreply@github.com>2018-12-27 10:38:18 -0700
commit5e1a89113f69c49c03942dc0d02002c2bebb27a3 (patch)
tree139b9b8b2df907f48319162c068840f32c09fc8d
parente6970fd7e4c06c8fea19ed4c927b2918dccd6801 (diff)
parentd3beaaacb3d28dbc4c6bcf8709857b561b37a8cc (diff)
downloadnumpy-5e1a89113f69c49c03942dc0d02002c2bebb27a3.tar.gz
Merge pull request #12618 from ahaldane/test_12byte_alignment
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