Skip to content

Commit 51d994a

Browse files
Merge pull request #1394 from IntelPython/fix-qualifier-typos
Fixed qualifier name typo
2 parents a6cb5db + 49002cc commit 51d994a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpctl/tests/test_sycl_queue_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data Parallel Control (dpctl)
22
#
3-
# Copyright 2020-2022 Intel Corporation
3+
# Copyright 2020-2023 Intel Corporation
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -69,8 +69,8 @@ def test_is_in_device_context_inside_nested_device_ctxt_cpu():
6969
n = cpu.max_compute_units
7070
n_half = n // 2
7171
try:
72-
d0, d1 = cpu.create_subdevices(partition=[n_half, n - n_half])
73-
except Exception:
72+
d0, d1 = cpu.create_sub_devices(partition=[n_half, n - n_half])
73+
except dpctl.SyclSubDeviceCreationError:
7474
pytest.skip("Could not create subdevices")
7575
assert 0 == dpctl.get_num_activated_queues()
7676
with dpctl.device_context(d0):

0 commit comments

Comments
 (0)