diff options
-rwxr-xr-x | crosperf/experiment_runner_unittest.py | 2 | ||||
-rwxr-xr-x | crosperf/machine_manager_unittest.py | 2 | ||||
-rw-r--r-- | utils/tabulator_test.py | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/crosperf/experiment_runner_unittest.py b/crosperf/experiment_runner_unittest.py index 3502ce60..c4ee2cf4 100755 --- a/crosperf/experiment_runner_unittest.py +++ b/crosperf/experiment_runner_unittest.py @@ -46,6 +46,8 @@ EXPERIMENT_FILE_1 = """ } """ +# pylint: disable=protected-access + class FakeLogger(object): """Fake logger for tests.""" diff --git a/crosperf/machine_manager_unittest.py b/crosperf/machine_manager_unittest.py index 0103ecdc..9889f9cd 100755 --- a/crosperf/machine_manager_unittest.py +++ b/crosperf/machine_manager_unittest.py @@ -23,6 +23,8 @@ from benchmark_run import MockBenchmarkRun from cros_utils import command_executer from cros_utils import logger +# pylint: disable=protected-access + class MyMachineManager(machine_manager.MachineManager): """Machine manager for test.""" diff --git a/utils/tabulator_test.py b/utils/tabulator_test.py index 4d15fdc8..21cd1e73 100644 --- a/utils/tabulator_test.py +++ b/utils/tabulator_test.py @@ -66,6 +66,7 @@ class TabulatorTest(unittest.TestCase): def testGmean(self): a = [1.0e+308] * 3 + # pylint: disable=protected-access b = tabulator.Result()._GetGmean(a) self.assertTrue(b >= 0.99e+308 and b <= 1.01e+308) |