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
commit909f52765007fbd35c024fe0f9dbef99ab83c3e8 (patch)
tree59078d2d026a3aa629ef930ba4e382b622a52085 /testutils.py
parent2e152035e8e2c56e2461d3f694ebee3713698767 (diff)
downloadpylint-909f52765007fbd35c024fe0f9dbef99ab83c3e8.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 8c01ee6..fb8170a 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