Skip to content

Commit c44df0c

Browse files
committed
TBD
1 parent e2d9012 commit c44df0c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

dpnp/tests/third_party/cupy/core_tests/test_core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010

1111
class 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")
5354
class 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")
103105
class 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__()

dpnp/tests/third_party/cupy/core_tests/test_flags.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
@pytest.mark.skip("class Flags is not exposed")
1111
class 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
)
4445
class TestContiguityFlags(unittest.TestCase):
46+
4547
def setUp(self):
4648
self.flags = None
4749

dpnp/tests/third_party/cupy/core_tests/test_include.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import os
22
from unittest import mock
33

4-
import cupy
54
import pytest
65

6+
import dpnp as cupy
7+
78
pytest.skip("CUDA compile is not supported", allow_module_level=True)
89

910
_code_base = """

0 commit comments

Comments
 (0)