We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6993584 commit ba0d075Copy full SHA for ba0d075
1 file changed
cuda_pathfinder/tests/test_find_nvidia_binaries.py
@@ -25,8 +25,7 @@ def test_find_binary_utilities(info_summary_append, utility_name):
25
bin_path = find_nvidia_binary_utility(utility_name)
26
info_summary_append(f"{bin_path=!r}")
27
28
- if bin_path is not None:
29
- assert os.path.isfile(bin_path)
+ assert bin_path is None or os.path.isfile(bin_path)
30
31
32
def test_supported_binaries_consistency():
0 commit comments