mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix `test_i18n_literalblock_warning
` which would sometimes fail due to the text wrapping of error messages.
This commit is contained in:
parent
d997aa76b0
commit
cf4166fa58
@ -219,7 +219,7 @@ def test_i18n_literalblock_warning(app):
|
|||||||
u"\n this is"
|
u"\n this is"
|
||||||
u"\n literal block\n"
|
u"\n literal block\n"
|
||||||
u"\nMISSING LITERAL BLOCK:\n"
|
u"\nMISSING LITERAL BLOCK:\n"
|
||||||
u"\n<SYSTEM MESSAGE: ")
|
u"\n<SYSTEM MESSAGE:")
|
||||||
assert result.startswith(expect)
|
assert result.startswith(expect)
|
||||||
|
|
||||||
warnings = warnfile.getvalue().replace(os.sep, '/')
|
warnings = warnfile.getvalue().replace(os.sep, '/')
|
||||||
|
Loading…
Reference in New Issue
Block a user