id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 7705,unit test failure with pygments 0.11.1dev,Christian Boos,Tim Hatch,"Using pygments:56c3e7e93e27 (latest tip in pygments-main as of today), I get the following failure in Trac's unit tests: {{{ FAIL: test_newline_content (trac.mimeview.tests.pygments.PygmentsRendererTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Workspace\src\trac\repos\trunk\trac\mimeview\tests\pygments.py"", line 103, in test_newline_content self.assertEqual(""\n\n\n"", t) AssertionError: '\n\n\n' != u'\n\n\n\n' }}} Looking at the code, it seems that `u'\n\n\n\n'` should actually be the more correct result and that `'\n\n\n'` was the sub-optimal result we had up to now. Tim, could you please look at this and eventually add a kind of version check to the test?",defect,closed,normal,0.11.2,rendering,0.11-stable,normal,fixed,pygments,,,,,