Skip to content

Commit

Permalink
on Simon's advice... uncomment reffile.write_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
stick authored and knabar committed May 7, 2024
1 parent 76fc6ec commit c124237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def normalise_generated(self, s):
def compare_with_reference(self, refname, generated):
reffile = path(__file__).dirname() / "reference_templates" / refname
generated = generated.split("\n")
# reffile.write_lines(generated)
reffile.write_lines(generated)
ref = reffile.lines(retain=False)
d = "\n".join(unified_diff(ref, generated))
return d
Expand Down

0 comments on commit c124237

Please sign in to comment.