Skip to content

Commit bc27ed6

Browse files
committed
refresh pathfinder test after rebae
1 parent dfe930e commit bc27ed6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cuda_pathfinder/tests/test_find_bitcode_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _located_bitcode_lib_asserts(located_bitcode_lib):
4545
assert os.path.isfile(located_bitcode_lib.abs_path)
4646

4747

48-
@pytest.mark.parametrize("libname", SUPPORTED_BITCODE_LIBS.keys())
48+
@pytest.mark.parametrize("libname", SUPPORTED_BITCODE_LIBS)
4949
def test_locate_bitcode_lib(info_summary_append, libname):
5050
lib_path = find_bitcode_lib(libname) if locate_bitcode_lib(libname) else None
5151
located_lib = locate_bitcode_lib(libname)
@@ -55,7 +55,7 @@ def test_locate_bitcode_lib(info_summary_append, libname):
5555
if lib_path:
5656
_located_bitcode_lib_asserts(located_lib)
5757
assert os.path.isfile(lib_path)
58-
expected_filename = SUPPORTED_BITCODE_LIBS[libname]["filename"]
58+
expected_filename = located_lib.filename
5959
assert os.path.basename(lib_path) == expected_filename
6060
if STRICTNESS == "all_must_work":
6161
assert lib_path is not None

0 commit comments

Comments
 (0)