From 3b372355f0d8e6799abc29f149ee479a0b89095e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 17 Aug 2017 18:09:57 +0200 Subject: testsuite: Bump pylint version for Python3 --- testsuite/ext/pylint_compat.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'testsuite/ext/pylint_compat.py') diff --git a/testsuite/ext/pylint_compat.py b/testsuite/ext/pylint_compat.py index 8ccfbc89b..5300df8e6 100644 --- a/testsuite/ext/pylint_compat.py +++ b/testsuite/ext/pylint_compat.py @@ -1,5 +1,10 @@ from pylint.__pkginfo__ import version as pylint_version -from logilab.astng.__pkginfo__ import version as astng_version + +try: + from logilab.astng.__pkginfo__ import version as astng_version +except ImportError: + from astroid.__pkginfo__ import version as astng_version + def register(linter): if pylint_version < '0.24.0': -- cgit v1.2.3-1-g7c22