Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion numpy/testing/_private/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ def assert_array_compare(comparison, x, y, err_msg='', verbose=True, header='',
ox, oy = x, y

def isnumber(x):
return x.dtype.char in '?bhilqpBHILQPefdgFDG'
return x.dtype.kind in 'biufc'
Comment thread
seberg marked this conversation as resolved.
Outdated

def istime(x):
return x.dtype.char in "Mm"
Expand Down
Loading