Repository navigation
Commit d41d303
committed
Fix datetime64 dtype assertion for big-endian platforms
The test hardcoded the little-endian dtype literal "<M8[ns]", which
fails on big-endian platforms where numpy naturally produces
big-endian arrays from this conversion path. Compare against
dates_array.dtype directly instead, which is endian-agnostic.1 parent 224e133 commit d41d303
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
0 commit comments