<commit_before><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <head>
    <link rel="stylesheet" href="../../../htdocs/css/trac.css" mimetype="text/css" />
    <link rel="stylesheet" href="../../../htdocs/css/diff.css" mimetype="text/css" />
    <title>Available Projects</title>
  </head>

  <body>
    <h1>Pygments Renderer Test Cases</h1>
    <br />
    <div id="python_hello">
<span class="k">def</span><span class=""> </span><span class="nf">hello</span><span class="">():
        </span><span class="k">return</span><span class=""> </span><span class="s">"Hello World!"</span><span class="">
</span>
    </div>
    <div id="python_hello_mimeview">
<div class="code"><pre><span class="k">def</span><span class=""> </span><span class="nf">hello</span><span class="">():
        </span><span class="k">return</span><span class=""> </span><span class="s">"Hello World!"</span><span class="">
</span></pre></div>
    </div>
    <div id="empty_content">
<span class="">
</span>
    </div>
    <hr /><commit_msg>Fix pygments rendering unit tests. They were initially written for Pygments 0.5.1. Now they're compatible with 0.7. The output still exhibits the empty span issue (see #4339).<commit_after><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <head>
    <link rel="stylesheet" href="../../../htdocs/css/trac.css" mimetype="text/css" />
    <link rel="stylesheet" href="../../../htdocs/css/diff.css" mimetype="text/css" />
    <title>Available Projects</title>
  </head>

  <body>
    <h1>Pygments Renderer Test Cases</h1>
    <br />
    <div id="python_hello">
<span class="">
</span><span class="k">def</span><span class=""> </span><span class="nf">hello</span><span class="p">():</span><span class="">
        </span><span class="k">return</span><span class=""> </span><span class="s">"Hello World!"</span><span class="">
</span>
    </div>
    <div id="python_hello_mimeview">
<div class="code"><pre><span class="">
</span><span class="k">def</span><span class=""> </span><span class="nf">hello</span><span class="p">():</span><span class="">
        </span><span class="k">return</span><span class=""> </span><span class="s">"Hello World!"</span><span class="">
</span></pre></div>
    </div>
    <div id="empty_content">
<span class="">
</span>
    </div>
    <hr />
{'fraction_non_alphanumeric': 0.25333827893175076, 'fraction_numerical': 0.01669139465875371, 'mean_word_length': 3.8507194244604315, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5196400', 'n_tokens_mistral': 1005, 'n_tokens_neox': 921, 'n_words': 176}