Skip to content

Commit fcecf49

Browse files
committed
chore: remove unused nosec comments
1 parent bb79da7 commit fcecf49

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cuda_bindings/tests/test_cuda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def test_get_error_name_and_string():
653653
@pytest.mark.skipif(not callableBinary("nvidia-smi"), reason="Binary existance needed")
654654
def test_device_get_name():
655655
# TODO: Refactor this test once we have nvml bindings to avoid the use of subprocess
656-
import subprocess # nosec B404
656+
import subprocess
657657

658658
(err,) = cuda.cuInit(0)
659659
assert err == cuda.CUresult.CUDA_SUCCESS

cuda_bindings/tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import platform
55
import random
6-
import subprocess # nosec B404
6+
import subprocess
77
import sys
88
from pathlib import Path
99

cuda_core/tests/test_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
import ctypes
5-
import pickle # nosec B403, B301
5+
import pickle
66
import warnings
77

88
import cuda.core.experimental

0 commit comments

Comments
 (0)