summaryrefslogtreecommitdiff
path: root/subplot/summain.py
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/summain.py')
-rw-r--r--subplot/summain.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/subplot/summain.py b/subplot/summain.py
index 0a53b08..4bde65c 100644
--- a/subplot/summain.py
+++ b/subplot/summain.py
@@ -54,12 +54,6 @@ def output_matches_file(ctx, filename=None):
actual = runcmd_get_stdout(ctx)
expected = get_file(filename).decode("UTF-8")
- # For some reason, in CI actual has an extra newline at the end. I have
- # failed to find why. As a workaround, stripping it here.
- if actual.endswith("\n\n"):
- print("FIXME: stripping extra newline from actual output")
- actual = actual[:-1]
-
diff = "".join(
line.rstrip("\n") + "\n"
for line in difflib.unified_diff(