Commit 125c913
authored
Fix test warnings in dpnp.tensor tests (#2852)
This PR proposes to fix test warnings in `dpnp.tensor` tests by
replacing deprecated strides assignment with
`np.lib.stride_tricks.as_strided` in `test_usm_ndarray_dlpack.py`
and suppressing overflow warnings from np.allclose in
`test_exp.py:test_exp_complex_contig`1 parent 549e940 commit 125c913
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
787 | 789 | | |
788 | 790 | | |
789 | 791 | | |
| |||
0 commit comments