diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-11-18 09:09:41 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-11-18 09:09:41 +0100 |
commit | 499c31f0591f3d24c9b19532bb4d7dc253be531f (patch) | |
tree | 4ebae4519efe4ef9390a9cda6ec407ad014f00d3 | |
parent | b6d7e156915c7ac463d04e7ab972f9d7bcbbf939 (diff) | |
download | pylint-git-499c31f0591f3d24c9b19532bb4d7dc253be531f.tar.gz |
Fix the test suite failures on PyPy
-rw-r--r-- | tests/functional/i/import_error.rc | 3 | ||||
-rw-r--r-- | tests/functional/s/syntax_error.rc | 1 | ||||
-rw-r--r-- | tests/functional/u/unused_typing_imports.rc | 1 | ||||
-rw-r--r-- | tests/test_self.py | 2 |
4 files changed, 6 insertions, 1 deletions
diff --git a/tests/functional/i/import_error.rc b/tests/functional/i/import_error.rc index de78a17ce..2901db32d 100644 --- a/tests/functional/i/import_error.rc +++ b/tests/functional/i/import_error.rc @@ -1,2 +1,5 @@ [Messages Control] disable=C,R,W + +[testoptions] +except_implementations=PyPy diff --git a/tests/functional/s/syntax_error.rc b/tests/functional/s/syntax_error.rc index 58b5a9413..b47a74525 100644 --- a/tests/functional/s/syntax_error.rc +++ b/tests/functional/s/syntax_error.rc @@ -1 +1,2 @@ [testoptions] +except_implementations=PyPy diff --git a/tests/functional/u/unused_typing_imports.rc b/tests/functional/u/unused_typing_imports.rc index 0ba2b6333..b239d6e2e 100644 --- a/tests/functional/u/unused_typing_imports.rc +++ b/tests/functional/u/unused_typing_imports.rc @@ -1,2 +1,3 @@ [testoptions] min_pyver=3.6 +except_implementations=PyPy diff --git a/tests/test_self.py b/tests/test_self.py index 31b7a3705..0b325a6b0 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -330,7 +330,7 @@ class TestRunTC(object): assert isinstance(output[0], dict) # So each version wants a different column number... if platform.python_implementation() == "PyPy": - column = 8 + column = 9 elif sys.version_info >= (3, 8): column = 9 else: |