We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999baca commit ed7a980Copy full SHA for ed7a980
tests/test_util/test_util_fileutil.py
@@ -124,8 +124,9 @@ def excluded(path):
124
def test_copy_asset_template(app):
125
app.build(force_all=True)
126
127
- expected_msg = r"^Writing evaluated template result to [^\n]*\bAPI.html$"
128
- assert re.findall(expected_msg, strip_colors(app.status.getvalue()), flags=re.MULTILINE)
+ expected_msg = r'^Writing evaluated template result to [^\n]*\bAPI.html$'
+ output = strip_colors(app.status.getvalue())
129
+ assert re.findall(expected_msg, output, flags=re.MULTILINE)
130
131
132
@pytest.mark.sphinx('html', testroot='util-copyasset_overwrite')
0 commit comments