Commit 0f59c21
committed
BUG: avoid generating numpy scalars in test_asarray_arrays
Otherwise, on numpy we can generate a numpy scalar and copy=False,
which fails with
(Pdb) p np.asarray(np.False_, copy=False)
*** ValueError: Unable to avoid copy while creating an array as requested.1 parent 7c700e7 commit 0f59c21
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments