Skip to content

Commit 0227dc9

Browse files
committed
fix(test_compiler_functions): updated test_compile_detects_device_code with new compiler changes
1 parent d92a772 commit 0227dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_compiler_functions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ def test_compile_detects_device_code(npct, subprocess):
198198
cfunc = CompilerFunctions()
199199
cfunc.compile(kernel_instance)
200200

201-
print(subprocess.check_call.call_args_list)
201+
print(subprocess.run.call_args_list)
202202

203203
# assert the filename suffix used for source compilation is .cu
204204
dot_cu_used = False
205-
for call in subprocess.check_call.call_args_list:
205+
for call in subprocess.run.call_args_list:
206206
args, kwargs = call
207207
args = args[0]
208208
print(args)

0 commit comments

Comments
 (0)