Commit 785e57e2 authored by Carl Meyer's avatar Carl Meyer
Browse files

[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 e520a73e that's needed to prevent an import
failure under 2.7.9.
parent e60557c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
"""Tests for jslex."""
# encoding: utf-8
"""Tests for jslex."""
# originally from https://bitbucket.org/ned/jslex

from django.test import TestCase