Skip to content

Commit cb19012

Browse files
Fixed unintended syntax in forming exception in SyclQueue constructor code
Syntax parsed as a call operator on string type. Instead it was meant as concatenation operation. This PR fixes that.
1 parent 70ec4d7 commit cb19012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_queue.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ cdef class SyclQueue(_SyclQueue):
344344
)
345345
elif status == -3 or status == -7:
346346
raise SyclQueueCreationError(
347-
"SYCL Context could not be created "
347+
"SYCL Context could not be created " +
348348
("by default constructor" if len_args == 0 else
349349
"from '{}'.".format(arg)
350350
)

0 commit comments

Comments
 (0)