diff options
Diffstat (limited to 'tests/test_intl.py')
-rw-r--r-- | tests/test_intl.py | 8 |
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 |