Skip to content

Commit 455889d

Browse files
committed
Fix mis-spelled enum name in cuda_core/tests/test_program.py
1 parent a49af74 commit 455889d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cuda_core/tests/test_program.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def test_nvvm_program_creation_compilation(nvvm_ir):
345345
try:
346346
ker = obj.get_kernel("simple") # noqa: F841
347347
except CUDAError as e:
348-
if re.search(r"CUDA_UNSUPPORTED_PTX_VERSION", str(e)):
348+
if re.search(r"CUDA_ERROR_UNSUPPORTED_PTX_VERSION", str(e)):
349349
pytest.xfail("PTX version not supported by current CUDA Driver")
350350
raise
351351
program.close()

0 commit comments

Comments
 (0)