We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d79ef9 commit 900251bCopy full SHA for 900251b
dpctl/tests/_device_attributes_checks.py
@@ -90,9 +90,9 @@ def check_max_work_item_sizes3d(device):
90
assert size is not None
91
92
93
-@pytest.mark.filterwarnings("DeprecationWarning:")
94
def check_max_work_item_sizes(device):
95
- max_work_item_sizes = device.max_work_item_sizes
+ with pytest.warns(DeprecationWarning):
+ max_work_item_sizes = device.max_work_item_sizes
96
for size in max_work_item_sizes:
97
98
0 commit comments