Commit 88e1167
authored
Suppress a deprecation warning on import from
The `dpctl.tensor` submodule was marked as a deprecated in scope of
[dpctl-2191](IntelPython/dpctl#2191) which will
cause raising `DeprecationWarning` for any import from `dpctl.tensor`.
The PR suppresses the warning when dpnp imports the borrowed attributes
from `dpctl.tensor`.dpctl.tensor submodule (#2709)1 parent 5416df7 commit 88e1167
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments