diff options
Diffstat (limited to 'tests/test_ext_autosectionlabel.py')
-rw-r--r-- | tests/test_ext_autosectionlabel.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_ext_autosectionlabel.py b/tests/test_ext_autosectionlabel.py index e26b3f3ed..42ef0c31a 100644 --- a/tests/test_ext_autosectionlabel.py +++ b/tests/test_ext_autosectionlabel.py @@ -36,10 +36,10 @@ def test_autosectionlabel_html(app, status, warning): assert re.search(html, content, re.S) # for smart_quotes (refs: #4027) - html = (u'<li><a class="reference internal" ' - u'href="#this-one-s-got-an-apostrophe">' - u'<span class="std std-ref">This one’s got an apostrophe' - u'</span></a></li>') + html = ('<li><a class="reference internal" ' + 'href="#this-one-s-got-an-apostrophe">' + '<span class="std std-ref">This one’s got an apostrophe' + '</span></a></li>') assert re.search(html, content, re.S) |