We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657a45b commit b14c4e1Copy full SHA for b14c4e1
tests/test_mathematical.py
@@ -1927,8 +1927,8 @@ def test_zeros(self, dt):
1927
assert_equal(result, expected)
1928
else:
1929
# numpy.spacing(-0.0) == numpy.spacing(0.0), i.e. NumPy returns
1930
- # positive value, while for any other negative input the result
1931
- # will be negative value (looks as a bug in NumPy)
+ # positive value (looks as a bug in NumPy), because for any other
+ # negative input the NumPy result will be also a negative value.
1932
expected[1] *= -1
1933
1934
0 commit comments