File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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" )
654654def 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
Original file line number Diff line number Diff line change 33
44import platform
55import random
6- import subprocess # nosec B404
6+ import subprocess
77import sys
88from pathlib import Path
99
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44import ctypes
5- import pickle # nosec B403, B301
5+ import pickle
66import warnings
77
88import cuda .core .experimental
You can’t perform that action at this time.
0 commit comments