mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 08:25:01 -05:00
Fix `test_i18n_literalblock_warning` which would sometimes fail due to the text wrapping of error messages.
This commit is contained in:
1 parent
d997aa76b0
commit
cf4166fa58
1 file changed
+1
-1
+1
-1
@@ -219,7 +219,7 @@ def test_i18n_literalblock_warning(app):
|
||||
u"\n this is"
|
||||
u"\n literal block\n"
|
||||
u"\nMISSING LITERAL BLOCK:\n"
|
||||
u"\n<SYSTEM MESSAGE: ")
|
||||
u"\n<SYSTEM MESSAGE:")
|
||||
assert result.startswith(expect)
|
||||
|
||||
warnings = warnfile.getvalue().replace(os.sep, '/')
|
||||
|
||||
Reference in new issue
Block a user