summaryrefslogtreecommitdiff
path: root/pylint/test/unittest_checker_strings.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-01-25 16:28:58 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2018-01-25 16:28:58 +0100
commita46d9c6c398392787450e0c57d588f75b8020dba (patch)
tree1d7a603f3c6e3b1a04ed2e1c046c780ce018af71 /pylint/test/unittest_checker_strings.py
parent1bc6bc29ec4d4fbdaf0c8ffe40e62a545c462f38 (diff)
downloadpylint-git-a46d9c6c398392787450e0c57d588f75b8020dba.tar.gz
Rip some version guards from tests, we always run on Python 3
Diffstat (limited to 'pylint/test/unittest_checker_strings.py')
-rw-r--r--pylint/test/unittest_checker_strings.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pylint/test/unittest_checker_strings.py b/pylint/test/unittest_checker_strings.py
index aff6f5520..d529b9214 100644
--- a/pylint/test/unittest_checker_strings.py
+++ b/pylint/test/unittest_checker_strings.py
@@ -4,10 +4,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
-import sys
-
-import pytest
-
import astroid
from pylint.checkers import strings
@@ -17,10 +13,6 @@ from pylint.testutils import CheckerTestCase
class TestStringChecker(CheckerTestCase):
CHECKER_CLASS = strings.StringFormatChecker
- @pytest.mark.skipif(sys.version_info <= (3, 0), reason=""
- "Tests that the string formatting checker "
- "doesn't fail when encountering a bytes "
- "string with a .format call")
def test_format_bytes(self):
code = "b'test'.format(1, 2)"
node = astroid.extract_node(code)