Skip to content
Snippets Groups Projects
Commit 80df0f6d authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Don't print an orphan newline when the Black source code formatter self-test passes.

parent 21a7d8c7
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,8 @@ def test_code_is_black_clean():
).decode("utf-8")
# Display diff in "captured stdout call"
print(output)
if output:
print(output)
assert not output, output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment