Fixed ff881aef on Python 3.

This commit is contained in:
Aymeric Augustin 2013-05-18 20:48:47 +02:00
parent ff881aef53
commit 0038296135
1 changed files with 1 additions and 1 deletions

View File

@ -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']: