Skip to content

Commit d5b943a

Browse files
committed
tests: Suppress unused import warning
Those are justified, for autotest namespace setup purposes. Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
1 parent 66214ad commit d5b943a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

iozone/postprocessing.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
import math
1616
import time
1717
try:
18-
import autotest.common as common
18+
import autotest.common as common # pylint: disable=W0611
1919
except ImportError:
20-
import common
20+
import common # pylint: disable=W0611
21+
2122
from autotest.client.shared import logging_config, logging_manager
2223
from autotest.client.shared import error
2324
from autotest.client import utils, os_dep

sleeptest/sleeptest_control_unittest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
import unittest
2626

2727
try:
28-
import autotest.common as common
28+
import autotest.common as common # pylint: disable=W0611
2929
except ImportError:
30-
import common
30+
import common # pylint: disable=W0611
3131

3232
from autotest.client.shared.mock import patch, MagicMock, call
3333
from autotest.client.shared.file_module_loader import load_module_from_file

0 commit comments

Comments
 (0)