Skip to content

Commit 2cd693b

Browse files
committed
test: simplify cuda_libraries test
1 parent 87b2e28 commit 2cd693b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

numba_cuda/numba/cuda/tests/cudadrv/test_cuda_libraries.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ def test_detect(self):
1616
PyCulib (and potentially others) rely on Numba's library finding
1717
capacity to find and subsequently load these libraries.
1818
"""
19-
core_libs = ["nvvm"]
20-
for l in core_libs:
21-
self.assertNotEqual(find_lib(l), [])
19+
found_libs = find_lib("nvvm")
20+
self.assertNotEqual(found_libs, [])
2221

2322

2423
if __name__ == "__main__":

0 commit comments

Comments
 (0)