def test_longdouble_int(self):
# gh-627
x = np.longdouble(np.inf)
assert_raises(OverflowError, x.__int__)
x = np.clongdouble(np.inf)
assert_raises(OverflowError, x.__int__)
test_scalarmath.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录