From e163ee01586a17b4e07d60681aa49437f602d0b5 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 3 Sep 2019 09:48:57 -0300 Subject: [PATCH] Test with the pylint command, we don't have py2+3 versions any more --- ubuntutools/test/test_pylint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntutools/test/test_pylint.py b/ubuntutools/test/test_pylint.py index cb39c27..4bc3d53 100644 --- a/ubuntutools/test/test_pylint.py +++ b/ubuntutools/test/test_pylint.py @@ -36,7 +36,7 @@ class PylintTestCase(unittest.TestCase): def test_pylint(self): """Test: Run pylint on Python source code""" - cmd = [sys.executable, "-m", "pylint", "--rcfile=" + CONFIG, + cmd = ["pylint", "--rcfile=" + CONFIG, "-E", "--"] + get_source_files() if unittest_verbosity() >= 2: sys.stderr.write("Running following command:\n{}\n".format(" ".join(cmd)))