Commit bea5156
authored
Resolve tests failures in rounding functions with numpy 2.0 (#2589)
There is data type mismatch in result returned for the rounding
functions, because numpy.ceil, numpy.floor, numpy.trunc, and numpy.fix
always returns floating dtype for "numpy < 2.1.0".
The dpnp behavior is aligned with "numpy >= 2.1.0", so this PR adds a
missing fixture to run the test depending on minimum required numpy
version.1 parent 12c324b commit bea5156
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2302 | 2302 | | |
2303 | 2303 | | |
2304 | 2304 | | |
| 2305 | + | |
2305 | 2306 | | |
2306 | 2307 | | |
2307 | 2308 | | |
| |||
0 commit comments