Skip to content

Commit

Permalink
remove encode
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ht committed Dec 4, 2024
1 parent 7de25ec commit 83246ba
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,4 @@ def assert_render_equality(
assert path.exists(output_path)
with open(output_path, "rb") as f:
with open(input_path, "rb") as f_ref:
f_data = f.read()
f_ref_data = f_ref.read()
if f_data != f_ref_data:
print(f"image with issue: {base64.b64encode(f_ref_data)}")
assert f.read() == f_ref.read()

0 comments on commit 83246ba

Please sign in to comment.