summaryrefslogtreecommitdiff
path: root/tests/extensions/test_check_docs.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2019-09-12 14:10:27 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2019-09-12 06:10:27 -0500
commitb72c0dd9a3ee5c992f94937b58de3b2153f4624d (patch)
tree1161dcf81f4c8a81c1af254e164d92596437f3d1 /tests/extensions/test_check_docs.py
parent0b947809fc018963fce1745cda89649e6d66d0c7 (diff)
downloadpylint-git-b72c0dd9a3ee5c992f94937b58de3b2153f4624d.tar.gz
Remove redundant compatibility code (#3097)
We no longer support Python 2 so we can remove the compatibility code we had in place for that version.
Diffstat (limited to 'tests/extensions/test_check_docs.py')
-rw-r--r--tests/extensions/test_check_docs.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py
index 9b4acce84..234ff6da4 100644
--- a/tests/extensions/test_check_docs.py
+++ b/tests/extensions/test_check_docs.py
@@ -16,10 +16,6 @@
"""Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`,
in particular the parameter documentation checker `DocstringChecker`
"""
-from __future__ import absolute_import, division, print_function
-
-import sys
-
import astroid
import pytest
@@ -1052,7 +1048,6 @@ class TestParamDocChecker(CheckerTestCase):
):
self._visit_methods_of_class(node)
- @pytest.mark.skipif(sys.version_info[0] != 3, reason="Enabled on Python 3")
def test_kwonlyargs_are_taken_in_account(self):
node = astroid.extract_node(
'''