Skip to content

Commit 3bd1b0e

Browse files
cpcloudcursoragent
andcommitted
fix(pathfinder): remove trivial in/not-in registry tests for driver libnames
These just exercise Python's `in` operator against a hardcoded list and don't provide meaningful coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d7f610e commit 3bd1b0e

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

cuda_pathfinder/tests/test_driver_lib_loading.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,6 @@ def _make_loaded_dl(path, found_via):
2424
return LoadedDL(path, False, 0xDEAD, found_via)
2525

2626

27-
# ---------------------------------------------------------------------------
28-
# _DRIVER_ONLY_LIBNAMES registry
29-
# ---------------------------------------------------------------------------
30-
31-
32-
@pytest.mark.parametrize("libname", ["cuda", "nvml"])
33-
def test_driver_only_libnames_contains(libname):
34-
assert libname in _DRIVER_ONLY_LIBNAMES
35-
36-
37-
@pytest.mark.parametrize("libname", ["cudart", "nvrtc", "cublas", "nvvm"])
38-
def test_driver_only_libnames_excludes_ctk_libs(libname):
39-
assert libname not in _DRIVER_ONLY_LIBNAMES
40-
41-
4227
# ---------------------------------------------------------------------------
4328
# _load_driver_lib_no_cache
4429
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)