From c9cc505ff201f32ed68be45dc1596f5eb75cf2dc Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Tue, 17 Oct 2023 01:32:44 -0500 Subject: [PATCH] Tweaked test_intel_device_info --- dpctl/tests/test_utils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dpctl/tests/test_utils.py b/dpctl/tests/test_utils.py index 1aab7fd7e7..05b2dc7890 100644 --- a/dpctl/tests/test_utils.py +++ b/dpctl/tests/test_utils.py @@ -21,7 +21,6 @@ import dpctl import dpctl.utils -from dpctl.enum_types import backend_type def test_get_execution_queue_input_validation(): @@ -132,9 +131,7 @@ def test_intel_device_info(): pytest.skip("Default device could not be created") descr = dpctl.utils.intel_device_info(d) assert isinstance(descr, dict) - assert ("device_id" in descr) or ( - not d.has_aspect_cpu and not d.backend == backend_type.level_zero - ) + assert ("device_id" in descr) or not descr allowed_names = [ "device_id", "gpu_slices",