diff options
| author | Carl Meyer <carl@oddbird.net> | 2015-02-06 20:20:02 -0700 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2015-02-06 20:20:02 -0700 |
| commit | 785e57e296ed8f920789eb120da80944ff4f17fd (patch) | |
| tree | d31bb8e4001a5093f5c23bf7b572c749bbaab9a4 | |
| parent | e60557c249d33e100008cc30890cde2daeb677bb (diff) | |
[1.4.x] Fix an encoding preamble so the tests pass on 2.7.9.
It seems there was a change in the parsing of encoding preambles in Python
2.7.9, compared to previous 2.7.x Pythons. This is a backport of the only piece
of e520a73eeea6b185b719901ab9985ecef00e5664 that's needed to prevent an import
failure under 2.7.9.
| -rw-r--r-- | tests/regressiontests/utils/jslex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/jslex.py b/tests/regressiontests/utils/jslex.py index 7cd93ca36d..43ea2293ef 100644 --- a/tests/regressiontests/utils/jslex.py +++ b/tests/regressiontests/utils/jslex.py @@ -1,5 +1,5 @@ -"""Tests for jslex.""" # encoding: utf-8 +"""Tests for jslex.""" # originally from https://bitbucket.org/ned/jslex from django.test import TestCase |
