summaryrefslogtreecommitdiff
path: root/tests/test_intl.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-31 15:44:04 +0200
committerGeorg Brandl <georg@python.org>2013-03-31 15:44:04 +0200
commit9abf39f912ebdf947089c07d2bace20974a3755c (patch)
tree99b923f3a7abc43d65e1990c6c160ab0c4872770 /tests/test_intl.py
parent6a422c5c77a8752210ddddd4141cabfd783a7a81 (diff)
downloadsphinx-git-9abf39f912ebdf947089c07d2bace20974a3755c.tar.gz
Fix overlong lines.
Diffstat (limited to 'tests/test_intl.py')
-rw-r--r--tests/test_intl.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py
index 100b0e1d9..4a74e030e 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -299,9 +299,11 @@ def test_i18n_role_xref(app):
app.builddir.rmtree(True) #for warnings acceleration
app.builder.build(['role_xref'])
result = (app.outdir / 'role_xref.txt').text(encoding='utf-8')
- expect = (u"\nI18N ROCK'N ROLE XREF"
- u"\n*********************\n"
- u"\nLINK TO *I18N ROCK'N ROLE XREF*, *CONTENTS*, *SOME NEW TERM*.\n")
+ expect = (
+ u"\nI18N ROCK'N ROLE XREF"
+ u"\n*********************\n"
+ u"\nLINK TO *I18N ROCK'N ROLE XREF*, *CONTENTS*, *SOME NEW TERM*.\n"
+ )
warnings = warnfile.getvalue().replace(os.sep, '/')
assert 'term not in glossary' not in warnings