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 99
1010
1111class TestSize (unittest .TestCase ):
12+
1213 # def tearDown(self):
1314 # # Free huge memory for slow test
1415 # cupy.get_default_memory_pool().free_all_blocks()
@@ -51,6 +52,7 @@ def test_size_huge(self, xp):
5152
5253@pytest .mark .skip ("no cupy._core submodule" )
5354class TestOrder (unittest .TestCase ):
55+
5456 @testing .for_orders (_orders .keys ())
5557 def test_ndarray (self , order ):
5658 order_expect = _orders [order ]
@@ -101,6 +103,7 @@ def test_cupy_ndarray(self, dtype):
101103)
102104@pytest .mark .skip ("compiling cupy headers are not supported" )
103105class TestCuPyHeaders (unittest .TestCase ):
106+
104107 def setUp (self ):
105108 self .temporary_cache_dir_context = test_raw .use_temporary_cache_dir ()
106109 self .cache_dir = self .temporary_cache_dir_context .__enter__ ()
Original file line number Diff line number Diff line change 99
1010@pytest .mark .skip ("class Flags is not exposed" )
1111class TestFlags (unittest .TestCase ):
12+
1213 def setUp (self ):
1314 self .flags = flags .Flags (1 , 2 , 3 )
1415
@@ -42,6 +43,7 @@ def test_repr(self):
4243 )
4344)
4445class TestContiguityFlags (unittest .TestCase ):
46+
4547 def setUp (self ):
4648 self .flags = None
4749
You can’t perform that action at this time.
0 commit comments