diff options
-rwxr-xr-x | test/test_parsers/test_rst/test_directives/test_tables.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_parsers/test_rst/test_directives/test_tables.py b/test/test_parsers/test_rst/test_directives/test_tables.py index 24e520ce6..0d48048ff 100755 --- a/test/test_parsers/test_rst/test_directives/test_tables.py +++ b/test/test_parsers/test_rst/test_directives/test_tables.py @@ -34,7 +34,8 @@ else: # some error messages changed in Python 3.3: csv_eod_error_str = 'unexpected end of data' -if sys.version_info < (3,3): +if sys.version_info < (3,2,4) and not (# backport to 2.7.4 + sys.version_info[:2] == (2,7) and sys.version_info[2] > 3): csv_eod_error_str = 'newline inside string' csv_unknown_url = "'bogus.csv'" if sys.version_info < (3,3,2): |