Commit 31099a7
committed
Write scalars without type information (#1499)
NumPy 2.x changed the representation of scalaras including type
information. That lead to failing tests, since the test files were
written with the new representation (e.g. `np.int64(0)`).
This reverts to the old behavior of using plain `0`. Though, the actual
fix is likely to use `str()` or `f"{scalar!s}"` as described in the
release notes.1 parent b2ee998 commit 31099a7
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
0 commit comments