summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-06 08:26:40 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2021-02-07 10:28:18 +0100
commitd825c21e18de5618cfcacea0fd818efa80a6b0fe (patch)
treeedbb97cb7b2925c7d48afb81cc3fb60e5b8dbf0a
parent00ad3cd4f9750afb634760335aae211a9954db98 (diff)
downloadpylint-git-d825c21e18de5618cfcacea0fd818efa80a6b0fe.tar.gz
Remove a sys.pypy_version_info that can only fail and unskip a test
-rw-r--r--tests/lint/unittest_lint.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index 5a6c2b853..86ec3c06a 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -72,11 +72,6 @@ elif sys.platform == "win32":
else:
HOME = "HOME"
-try:
- PYPY_VERSION_INFO = sys.pypy_version_info
-except AttributeError:
- PYPY_VERSION_INFO = None
-
@contextmanager
def fake_home():
@@ -653,11 +648,6 @@ def test_pylint_home():
del os.environ["PYLINTHOME"]
-@pytest.mark.skipif(
- PYPY_VERSION_INFO,
- reason="TOX runs this test from within the repo and finds "
- "the project's pylintrc.",
-)
@pytest.mark.usefixtures("pop_pylintrc")
def test_pylintrc():
with fake_home():