8000 Merge pull request #12125 from tylerjereddy/issctype_test_expand · shoyer/numpy@fb58c06 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb58c06

Browse files
authored
Merge pull request numpy#12125 from tylerjereddy/issctype_test_expand
TST: expand cases in test_issctype()
2 parents db5f9d3 + 181cc0f commit fb58c06

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