Skip to content

Commit 2e22943

Browse files
author
Vahid Tavanashad
committed
update sycl_queue and usm_type tests
1 parent 4f5761d commit 2e22943

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

tests/test_manipulation.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@
44
import numpy
55
import pytest
66
from dpctl.tensor._numpy_helper import AxisError
7-
8-
if numpy.lib.NumpyVersion(numpy.__version__) >= "2.0.0":
9-
from numpy.lib._arraypad_impl import _as_pairs as numpy_as_pairs
10-
else:
11-
from numpy.lib.arraypad import _as_pairs as numpy_as_pairs
12-
137
from numpy.testing import assert_array_equal, assert_equal, assert_raises
148

159
import dpnp
16-
from dpnp.dpnp_utils.dpnp_utils_pad import _as_pairs as dpnp_as_pairs
1710
from tests.third_party.cupy import testing
1811

1912
from .helper import (

tests/test_sycl_queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,7 @@ def test_pad(device):
13131313
"linear_ramp",
13141314
"maximum",
13151315
"mean",
1316+
"median",
13161317
"minimum",
13171318
"reflect",
13181319
"symmetric",

tests/test_usm_type.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,7 @@ def test_pad(usm_type):
10311031
"linear_ramp",
10321032
"maximum",
10331033
"mean",
1034+
"median",
10341035
"minimum",
10351036
"reflect",
10361037
"symmetric",

0 commit comments

Comments
 (0)