diff options
| author | Mircea Akos Bruma <bruma.mircea.a@gmail.com> | 2018-11-08 21:52:32 +0100 |
|---|---|---|
| committer | Mircea Akos Bruma <bruma.mircea.a@gmail.com> | 2018-11-08 21:52:32 +0100 |
| commit | 3ce73b79d6dc151f64f3254f9eeafd681c5efa5c (patch) | |
| tree | 9a1db637be635040203d489b469928088ae93bc0 /numpy/core/tests | |
| parent | 9ca7cb17cabd2996b17d25357cbc00b41985b58e (diff) | |
| download | numpy-3ce73b79d6dc151f64f3254f9eeafd681c5efa5c.tar.gz | |
BUG: Fix for np.dtype(ctypes.Structure) does not respect _pack_ field
See #10532
Made several changes to offset and size calulation. First pull request
was far from correct.
Diffstat (limited to 'numpy/core/tests')
| -rw-r--r-- | numpy/core/tests/test_dtype.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/tests/test_dtype.py b/numpy/core/tests/test_dtype.py index ecb51f72d..f4b118bab 100644 --- a/numpy/core/tests/test_dtype.py +++ b/numpy/core/tests/test_dtype.py @@ -824,7 +824,6 @@ class TestFromCTypes(object): )) self.check(Union, expected) - @pytest.mark.xfail(reason="_pack_ is ignored - see gh-11651") def test_packed_structure(self): class PackedStructure(ctypes.Structure): _pack_ = 1 |
