Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Dec 9, 2023
1 parent c084064 commit 883d547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_regression(tmp_path, request, inputfile: pathlib.Path):

with open(output_folder / output_file_name, "r") as output_file:
with pathlib.Path(reference_folder / output_file_name).open() as reference_file:
ansi_escape = re.compile(r"\\x1b(.*?)t", re.VERBOSE)
ansi_escape = re.compile(r"\x1b(.*?)t", re.VERBOSE)
output_text = output_file.read()
cleaned_output_text = ansi_escape.sub("", output_text)
assert cleaned_output_text == reference_file.read()

0 comments on commit 883d547

Please sign in to comment.