File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
dpnp/tests/third_party/cupy/core_tests Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
11
11
class TestSize (unittest .TestCase ):
12
+
12
13
# def tearDown(self):
13
14
# # Free huge memory for slow test
14
15
# cupy.get_default_memory_pool().free_all_blocks()
@@ -51,6 +52,7 @@ def test_size_huge(self, xp):
51
52
52
53
@pytest .mark .skip ("no cupy._core submodule" )
53
54
class TestOrder (unittest .TestCase ):
55
+
54
56
@testing .for_orders (_orders .keys ())
55
57
def test_ndarray (self , order ):
56
58
order_expect = _orders [order ]
@@ -101,6 +103,7 @@ def test_cupy_ndarray(self, dtype):
101
103
)
102
104
@pytest .mark .skip ("compiling cupy headers are not supported" )
103
105
class TestCuPyHeaders (unittest .TestCase ):
106
+
104
107
def setUp (self ):
105
108
self .temporary_cache_dir_context = test_raw .use_temporary_cache_dir ()
106
109
self .cache_dir = self .temporary_cache_dir_context .__enter__ ()
Original file line number Diff line number Diff line change 9
9
10
10
@pytest .mark .skip ("class Flags is not exposed" )
11
11
class TestFlags (unittest .TestCase ):
12
+
12
13
def setUp (self ):
13
14
self .flags = flags .Flags (1 , 2 , 3 )
14
15
@@ -42,6 +43,7 @@ def test_repr(self):
42
43
)
43
44
)
44
45
class TestContiguityFlags (unittest .TestCase ):
46
+
45
47
def setUp (self ):
46
48
self .flags = None
47
49
You can’t perform that action at this time.
0 commit comments