Skip to content

Commit b3cd45b

Browse files
committed
Add bandit suppressions in test_path_finder.py
1 parent 09fbbe2 commit b3cd45b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cuda_bindings/tests/test_path_finder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os
2-
import subprocess
2+
import subprocess # nosec B404
33
import sys
44

55
import pytest
@@ -77,7 +77,7 @@ def test_find_or_load_nvidia_dynamic_library(api, libname):
7777
if loaded_dl_no_cache.abs_path != loaded_dl_fresh.abs_path:
7878
raise RuntimeError(f"{{loaded_dl_no_cache.abs_path=!r}} != {{loaded_dl_fresh.abs_path=!r}}")
7979
"""
80-
result = subprocess.run(
80+
result = subprocess.run( # nosec B603
8181
[sys.executable, "-c", code],
8282
stdout=subprocess.PIPE,
8383
stderr=subprocess.PIPE,

0 commit comments

Comments
 (0)