Fix test for neg on unsigned
Due to changes in numpy conversion rules (NEP 50),
overflows are not ignored; in particular, negating
a unsigned int causes an overflow error.
The test for `neg` has been changed to check that
this error is raised.
正在显示
请
注册
或者
登录
后发表评论