Skip to content

Commit ed7a980

Browse files
committed
Fix test formatting
1 parent 999baca commit ed7a980

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_util/test_util_fileutil.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ def excluded(path):
124124
def test_copy_asset_template(app):
125125
app.build(force_all=True)
126126

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)
127+
expected_msg = r'^Writing evaluated template result to [^\n]*\bAPI.html$'
128+
output = strip_colors(app.status.getvalue())
129+
assert re.findall(expected_msg, output, flags=re.MULTILINE)
129130

130131

131132
@pytest.mark.sphinx('html', testroot='util-copyasset_overwrite')

0 commit comments

Comments
 (0)