Test with the pylint command, we don't have py2+3 versions any more

This commit is contained in:
Stefano Rivera 2019-09-03 09:48:57 -03:00
parent b0421706d5
commit e163ee0158

View File

@ -36,7 +36,7 @@ class PylintTestCase(unittest.TestCase):
def test_pylint(self): def test_pylint(self):
"""Test: Run pylint on Python source code""" """Test: Run pylint on Python source code"""
cmd = [sys.executable, "-m", "pylint", "--rcfile=" + CONFIG, cmd = ["pylint", "--rcfile=" + CONFIG,
"-E", "--"] + get_source_files() "-E", "--"] + get_source_files()
if unittest_verbosity() >= 2: if unittest_verbosity() >= 2:
sys.stderr.write("Running following command:\n{}\n".format(" ".join(cmd))) sys.stderr.write("Running following command:\n{}\n".format(" ".join(cmd)))