diff options
author | Matti Picus <matti.picus@gmail.com> | 2018-10-09 21:53:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 21:53:33 +0300 |
commit | fb58c068d7d40b6858c829ad5d4f0ac248067d00 (patch) | |
tree | 2ff6d2ad153baffc3a50a41a5047576f3a3fe875 /numpy/core | |
parent | db5f9d3a61d639b4fdb95c161012678ea8847424 (diff) | |
parent | 181cc0fb2bd6c4755904e924940c10c387c9f301 (diff) | |
download | numpy-fb58c068d7d40b6858c829ad5d4f0ac248067d00.tar.gz |
Merge pull request #12125 from tylerjereddy/issctype_test_expand
TST: expand cases in test_issctype()
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/tests/test_numerictypes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/tests/test_numerictypes.py b/numpy/core/tests/test_numerictypes.py index dd7f680a9..27e4fdeec 100644 --- a/numpy/core/tests/test_numerictypes.py +++ b/numpy/core/tests/test_numerictypes.py @@ -480,6 +480,9 @@ class Test_sctype2char(object): (list, False), (1.1, False), (str, True), + (np.dtype(np.float64), True), + (np.dtype((np.int16, (3, 4))), True), + (np.dtype([('a', np.int8)]), True), ]) def test_issctype(rep, expected): # ensure proper identification of scalar |