mirror of https://github.com/django/django.git
Fixed ff881aef
on Python 3.
This commit is contained in:
parent
ff881aef53
commit
0038296135
|
@ -125,7 +125,7 @@ class ExceptionReporterTests(TestCase):
|
||||||
|
|
||||||
def test_eol_support(self):
|
def test_eol_support(self):
|
||||||
"""Test that the ExceptionReporter supports Unix, Windows and Macintosh EOL markers"""
|
"""Test that the ExceptionReporter supports Unix, Windows and Macintosh EOL markers"""
|
||||||
LINES = list(u'print %d' % i for i in range(1,6))
|
LINES = list('print %d' % i for i in range(1, 6))
|
||||||
reporter = ExceptionReporter(None, None, None, None)
|
reporter = ExceptionReporter(None, None, None, None)
|
||||||
|
|
||||||
for newline in ['\n','\r\n','\r']:
|
for newline in ['\n','\r\n','\r']:
|
||||||
|
|
Loading…
Reference in New Issue