diff options
| author | Graham Markall <graham.markall@continuum.io> | 2016-01-29 15:55:09 +0000 |
|---|---|---|
| committer | Graham Markall <graham.markall@continuum.io> | 2016-01-29 15:55:09 +0000 |
| commit | 7c03f21a133aae86f661c1dc57d71fa06eca9979 (patch) | |
| tree | ab5b9355a9488bce052667fa7bcf2b59cd42cb05 /numpy/core | |
| parent | 38fdd765536d868101167474d87e307167e49fb9 (diff) | |
| download | numpy-7c03f21a133aae86f661c1dc57d71fa06eca9979.tar.gz | |
TST: Unpickled void scalars must be behaved
Unpickled void scalars must be both aligned and writeable.
Diffstat (limited to 'numpy/core')
| -rw-r--r-- | numpy/core/tests/test_records.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/tests/test_records.py b/numpy/core/tests/test_records.py index e46cf90e1..2c85546a7 100644 --- a/numpy/core/tests/test_records.py +++ b/numpy/core/tests/test_records.py @@ -305,6 +305,8 @@ class TestRecord(TestCase): pa = pickle.loads(pickle.dumps(a[0])) assert_(pa.flags.c_contiguous) assert_(pa.flags.f_contiguous) + assert_(pa.flags.writeable) + assert_(pa.flags.aligned) def test_objview_record(self): # https://github.com/numpy/numpy/issues/2599 |
