MCPcopy Create free account
hub / github.com/numpy/numpy / istime

Function istime

numpy/testing/_private/utils.py:658–659  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

656 return x.dtype.char in '?bhilqpBHILQPefdgFDG'
657
658 def istime(x):
659 return x.dtype.char in "Mm"
660
661 def func_assert_same_pos(x, y, func=isnan, hasval='nan'):
662 """Handling nan/inf.

Callers 1

assert_array_compareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected