diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-08-31 10:44:16 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-08-31 10:44:16 +0100 |
| commit | 045edf1c661b09957e4f87c37981b209a29512ae (patch) | |
| tree | 3223ba0425a32fb98d7d639da7dbcbbfbcbae45c /tests/conversion_tests.py | |
| parent | 7145a7199033988065f472af5a964587acbe06eb (diff) | |
Fix support on different Python versions
Diffstat (limited to 'tests/conversion_tests.py')
| -rw-r--r-- | tests/conversion_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/conversion_tests.py b/tests/conversion_tests.py index 508d457..d9dde3e 100644 --- a/tests/conversion_tests.py +++ b/tests/conversion_tests.py @@ -1,5 +1,7 @@ # coding=utf-8 +from __future__ import unicode_literals + import io from nose.tools import istest, assert_equal @@ -286,8 +288,8 @@ def footnotes_are_included_after_the_main_body(): document, generate_uniquifier=lambda: 42 ) - expected_html = (u'<p>Knock knock<sup><a href="#footnote-42-4" id="footnote-ref-42-4">[1]</a></sup></p>' + - u'<ol><li id="footnote-42-4"><p>Who\'s there? <a href="#footnote-ref-42-4">↑</a></p></li></ol>') + expected_html = ('<p>Knock knock<sup><a href="#footnote-42-4" id="footnote-ref-42-4">[1]</a></sup></p>' + + '<ol><li id="footnote-42-4"><p>Who\'s there? <a href="#footnote-ref-42-4">↑</a></p></li></ol>') assert_equal(expected_html, result.value) |
