|
| 1 | +from __future__ import annotations |
| 2 | + |
1 | 3 | import operator |
2 | 4 | import os |
3 | 5 | import shutil |
@@ -73,6 +75,7 @@ def test_available(self): |
73 | 75 | assert available |
74 | 76 |
|
75 | 77 |
|
| 78 | +# @pytest.mark.thread_unsafe(reason="modifies environment variables") |
76 | 79 | @pytest.mark.skip("dpnp.is_available() is not implemented") |
77 | 80 | class TestNotAvailable(unittest.TestCase): |
78 | 81 |
|
@@ -145,18 +148,17 @@ def test_bitwise_not_is_invert(self): |
145 | 148 | assert xp.bitwise_not is xp.invert |
146 | 149 |
|
147 | 150 |
|
148 | | -@pytest.mark.skip("dpnp.exceptions is not implemented") |
149 | 151 | @testing.with_requires("numpy>=2.0") |
150 | 152 | @pytest.mark.parametrize( |
151 | 153 | "name", |
152 | 154 | [ |
153 | 155 | "exceptions.AxisError", |
154 | | - "exceptions.ComplexWarning", |
155 | | - "exceptions.ModuleDeprecationWarning", |
156 | | - "exceptions.RankWarning", |
157 | | - "exceptions.TooHardError", |
158 | | - "exceptions.VisibleDeprecationWarning", |
159 | | - "linalg.LinAlgError", |
| 156 | + # "exceptions.ComplexWarning", |
| 157 | + # "exceptions.ModuleDeprecationWarning", |
| 158 | + # "exceptions.RankWarning", |
| 159 | + # "exceptions.TooHardError", |
| 160 | + # "exceptions.VisibleDeprecationWarning", |
| 161 | + # "linalg.LinAlgError", |
160 | 162 | ], |
161 | 163 | ) |
162 | 164 | def test_error_classes(name): |
|
0 commit comments