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
Prev Previous commit
Apply suggestion from @seberg
  • Loading branch information
seberg authored Mar 5, 2026
commit f544e32612c80aab8f2102b6535e481f7f1432c5
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.kind in 'biufc'
return type(x.dtype)._is_numeric

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