• Brendan Murphy's avatar
    Fix test for neg on unsigned · 51430183
    Brendan Murphy 提交于
    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.
    51430183
utils.py 38.4 KB