Loading tests/view_tests/tests/test_debug.py +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ class ExceptionReporterTests(TestCase): def test_eol_support(self): """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) for newline in ['\n','\r\n','\r']: Loading Loading
tests/view_tests/tests/test_debug.py +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ class ExceptionReporterTests(TestCase): def test_eol_support(self): """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) for newline in ['\n','\r\n','\r']: Loading