def test_int_raise_behaviour(self):
def overflow_error_func(dtype):
np.typeDict[dtype](np.iinfo(dtype).max + 1)
for code in 'lLqQ':
assert_raises(OverflowError, overflow_error_func, code)
test_scalarmath.py 文件源码
python
阅读 35
收藏 0
点赞 0
评论 0
评论列表
文章目录