Skip to content

Commit eda4e99

Browse files
committed
Fix Codacy issues
1 parent c79cdbf commit eda4e99

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/utils/test_tools.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import os
22
import re
33
import shutil
4-
from subprocess import PIPE, CalledProcessError, Popen, run
5-
from sys import stderr # nosec
4+
from subprocess import PIPE, CalledProcessError, run # nosec B404
65
from unittest.mock import patch
76

87
import pytest
@@ -181,7 +180,7 @@ def test_get_rizin_version_with_invalid_path(tmp_path):
181180
def test_download_rizin_successfully(tmp_path):
182181
target_path = tmp_path / "rizin"
183182

184-
with patch("quark.utils.tools._execute_command") as mock:
183+
with patch("quark.utils.tools._execute_command") as mock:
185184
download_rizin(target_path)
186185
mock.assert_called_once()
187186

0 commit comments

Comments
 (0)