diff options
author | Torsten Marek <shlomme@gmail.com> | 2014-04-28 22:04:35 +0200 |
---|---|---|
committer | Torsten Marek <shlomme@gmail.com> | 2014-04-28 22:04:35 +0200 |
commit | 909f52765007fbd35c024fe0f9dbef99ab83c3e8 (patch) | |
tree | 59078d2d026a3aa629ef930ba4e382b622a52085 /testutils.py | |
parent | 2e152035e8e2c56e2461d3f694ebee3713698767 (diff) | |
download | pylint-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.py | 2 |
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 |