Skip to content

Commit

Permalink
no encoding with binary mode...
Browse files Browse the repository at this point in the history
  • Loading branch information
euri10 committed Nov 9, 2023
1 parent 4deae50 commit ff30684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def _get_cert_data(filepath):
"Returns the filepath content as bytes"
with open(filepath, "rb", encoding="utf-8") as fobj:
with open(filepath, "rb") as fobj:
return fobj.read()


Expand Down

0 comments on commit ff30684

Please sign in to comment.