summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-04-28 22:04:35 +0200
committerTorsten Marek <shlomme@gmail.com>2014-04-28 22:04:35 +0200
commit3562450869bba928ce70f4183fa32ed5c4477842 (patch)
treed7d4667129090efe7ba3bac5995bedda9914926c /testutils.py
parent702d98a26a1caf5f5077971581140c69391cf1f0 (diff)
downloadpylint-git-3562450869bba928ce70f4183fa32ed5c4477842.tar.gz
Make the func_unicode_literal test pass on Python < 2.7.4, which does not tokenize strings with the b prefix properly.
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index 8c01ee60f..fb8170a47 100644
--- a/testutils.py
+++ b/testutils.py
@@ -38,7 +38,7 @@ from pylint.lint import PyLinter
# Utils
-SYS_VERS_STR = '%d%d' % sys.version_info[:2]
+SYS_VERS_STR = '%d%d%d' % sys.version_info[:3]
TITLE_UNDERLINES = ['', '=', '-', '.']
PREFIX = abspath(dirname(__file__))
PY3K = sys.version_info[0] == 3