diff options
| author | Georg Brandl <georg@python.org> | 2013-10-12 22:57:09 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-10-12 22:57:09 +0200 |
| commit | 8cc3039798fa3cfee23a9f5ada3fbaa9b1c176a1 (patch) | |
| tree | ff6ec617146723baa47a23ffcdfe4470b3a80b31 /tests | |
| parent | fa885b7da4443f79a6273fc03bbaae2bcff0dd9b (diff) | |
| download | sphinx-8cc3039798fa3cfee23a9f5ada3fbaa9b1c176a1.tar.gz | |
test_intl fix-up after versionmodified change.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_intl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py index 744e1679..405ccd39 100644 --- a/tests/test_intl.py +++ b/tests/test_intl.py @@ -565,20 +565,20 @@ def test_versionchange(app): return '' expect1 = ( - u"""<p><span>Deprecated since version 1.0: </span>""" + u"""<p><span class="versionmodified">Deprecated since version 1.0: </span>""" u"""THIS IS THE <em>FIRST</em> PARAGRAPH OF DEPRECATED.</p>\n""" u"""<p>THIS IS THE <em>SECOND</em> PARAGRAPH OF DEPRECATED.</p>\n""") matched_content = get_content(result, "deprecated") assert expect1 == matched_content expect2 = ( - u"""<p><span>New in version 1.0: </span>""" + u"""<p><span class="versionmodified">New in version 1.0: </span>""" u"""THIS IS THE <em>FIRST</em> PARAGRAPH OF VERSIONADDED.</p>\n""") matched_content = get_content(result, "versionadded") assert expect2 == matched_content expect3 = ( - u"""<p><span>Changed in version 1.0: </span>""" + u"""<p><span class="versionmodified">Changed in version 1.0: </span>""" u"""THIS IS THE <em>FIRST</em> PARAGRAPH OF VERSIONCHANGED.</p>\n""") matched_content = get_content(result, "versionchanged") assert expect3 == matched_content |
