diff options
author | Tim Newsome <tim@sifive.com> | 2017-11-01 12:36:36 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-11-01 12:36:36 -0700 |
commit | cc4fb603a4c6c1c1ba92262763b68bbb91092ed3 (patch) | |
tree | 57ac57328fd8c7940ab72fda31e577dba2f2a8eb /debug/testlib.py | |
parent | 97f13c98e7306882f013ab2f6524e483ce1dcceb (diff) | |
download | riscv-tests-cc4fb603a4c6c1c1ba92262763b68bbb91092ed3.zip riscv-tests-cc4fb603a4c6c1c1ba92262763b68bbb91092ed3.tar.gz riscv-tests-cc4fb603a4c6c1c1ba92262763b68bbb91092ed3.tar.bz2 |
Make pylint 1.6.5 happy.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index e1be100..fae2132 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -555,7 +555,7 @@ def run_all_tests(module, target, parsed): for name in dir(module): definition = getattr(module, name) - if type(definition) == type and hasattr(definition, 'test') and \ + if isinstance(definition, type) and hasattr(definition, 'test') and \ (not parsed.test or any(test in name for test in parsed.test)): todo.append((name, definition, None)) @@ -670,7 +670,6 @@ class BaseTest(object): compile_args = getattr(self, 'compile_args', None) if compile_args: if compile_args not in BaseTest.compiled: - # pylint: disable=star-args BaseTest.compiled[compile_args] = \ self.target.compile(self.hart, *compile_args) self.binary = BaseTest.compiled.get(compile_args) |