Commit 651bd12
* Change np.core.defchararray to np.char.chararray (#9165)
Replace a reference to np.core.defchararray with np.char.chararray
in xarray.testing.assertions, since the former no longer works on
NumPy 2.0.0 and the latter is the "preferred alias" according to
NumPy docs. See Issue #9165.
* Add test for assert_allclose on dtype S (#9165)
* Use np.char.decode, not np.char.chararray.decode
... in assertions._decode_string_data. See #9166.
* List #9165 fix in whats-new.rst
* cross-like the fixed function
* Improve a parameter ID in tests.test_assertions
Co-authored-by: Justus Magin <[email protected]>
* whats-new normalization
---------
Co-authored-by: Justus Magin <[email protected]>
1 parent 19d0fbf commit 651bd12
File tree
3 files changed
+8
-1
lines changed- doc
- xarray
- testing
- tests
3 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments