equal
deleted
inserted
replaced
360 if tuple(int(i) for i in pygments.__version__.split('.')[:2]) >= (1, 3): |
360 if tuple(int(i) for i in pygments.__version__.split('.')[:2]) >= (1, 3): |
361 self.assertEquals(e.printable_value('data'), |
361 self.assertEquals(e.printable_value('data'), |
362 '''<div class="highlight"><pre><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="mi">1</span> |
362 '''<div class="highlight"><pre><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="mi">1</span> |
363 </pre></div> |
363 </pre></div> |
364 ''') |
364 ''') |
365 else |
365 else: |
366 self.assertEquals(e.printable_value('data'), |
366 self.assertEquals(e.printable_value('data'), |
367 '''<div class="highlight"><pre><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="mf">1</span> |
367 '''<div class="highlight"><pre><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="mf">1</span> |
368 </pre></div> |
368 </pre></div> |
369 ''') |
369 ''') |
370 else: |
370 else: |