Skip to content

Commit a9aadd9

Browse files
Remove the warning suppress
1 parent b30e6cc commit a9aadd9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

dpnp/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
import os
3030
import sys
31-
import warnings
3231

3332
mypath = os.path.dirname(os.path.realpath(__file__))
3433

@@ -61,10 +60,6 @@
6160
[os.getenv("PATH", ""), dll_path]
6261
)
6362

64-
# Borrowed from DPCTL
65-
with warnings.catch_warnings():
66-
warnings.simplefilter("ignore", DeprecationWarning)
67-
from dpctl_ext.tensor import __array_api_version__, DLDeviceType
6863

6964
from .dpnp_array import dpnp_array as ndarray
7065
from .dpnp_array_api_info import __array_namespace_info__

0 commit comments

Comments
 (0)