Skip to content

Commit 83a89d3

Browse files
committed
fix handling output of subprocess.check_output command
1 parent 25ab186 commit 83a89d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/tests/test_cuda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def test_device_get_name():
662662
) # nosec B603, B607
663663

664664
delimiter = b"\r\n" if platform.system() == "Windows" else b"\n"
665-
expect = p.stdout.split(delimiter)
665+
expect = p.split(delimiter)
666666
size = 64
667667
_, got = cuda.cuDeviceGetName(size, device)
668668
got = got.split(b"\x00")[0]

0 commit comments

Comments
 (0)