8000 TST: expand cases in test_issctype() · shoyer/numpy@181cc0f · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 181cc0f

Browse files
committed
TST: expand cases in test_issctype()
* add additional test cases for test_issctype requested by @eric-wieser in numpygh-12109
1 parent db5f9d3 commit 181cc0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy/core/tests/test_numerictypes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,9 @@ def test_non_type(self):
480480
(list, False),
481481
(1.1, False),
482482
(str, True),
483+
(np.dtype(np.float64), True),
484+
(np.dtype((np.int16, (3, 4))), True),
485+
(np.dtype([('a', np.int8)]), True),
483486
])
484487
def test_issctype(rep, expected):
485488
# ensure proper identification of scalar

0 commit comments

Comments
 (0)
0