Commit b2265e52 authored by Stefan Behnel's avatar Stefan Behnel

Try to avoid test failures due to fragile float formatting in memory view output.

parent 8429976d
...@@ -293,13 +293,13 @@ def test_coerce_to_numpy(): ...@@ -293,13 +293,13 @@ def test_coerce_to_numpy():
deallocating... deallocating...
12.2 12.2
deallocating... deallocating...
13.3 13.25
deallocating... deallocating...
(14.4+15.5j) (14.4+15.5j)
deallocating... deallocating...
(16.6+17.7j) (16.5+17.7j)
deallocating... deallocating...
(18.8+19.9j) (18.8+19.96j)
deallocating... deallocating...
22 22
deallocating... deallocating...
...@@ -365,11 +365,11 @@ def test_coerce_to_numpy(): ...@@ -365,11 +365,11 @@ def test_coerce_to_numpy():
floats[idx] = 11.1 floats[idx] = 11.1
doubles[idx] = 12.2 doubles[idx] = 12.2
longdoubles[idx] = 13.3 longdoubles[idx] = 13.25
floatcomplex[idx] = 14.4 + 15.5j floatcomplex[idx] = 14.4 + 15.5j
doublecomplex[idx] = 16.6 + 17.7j doublecomplex[idx] = 16.5 + 17.7j
longdoublecomplex[idx] = 18.8 + 19.9j longdoublecomplex[idx] = 18.8 + 19.96j
h_shorts[idx] = 22 h_shorts[idx] = 22
h_doubles[idx] = 33.33 h_doubles[idx] = 33.33
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment