diff options
Diffstat (limited to 'tests/test_ext_autosectionlabel.py')
| -rw-r--r-- | tests/test_ext_autosectionlabel.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/test_ext_autosectionlabel.py b/tests/test_ext_autosectionlabel.py index 84641b53f..0b4d355a8 100644 --- a/tests/test_ext_autosectionlabel.py +++ b/tests/test_ext_autosectionlabel.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_autosectionlabel ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -36,10 +35,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) |
