diff --git a/tests/utils.py b/tests/utils.py index f7291a0..2d47bc3 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,6 +1,6 @@ def _get_cert_data(filepath): "Returns the filepath content as bytes" - with open(filepath, "rb") as fobj: + with open(filepath, "rb", encoding="utf-8") as fobj: return fobj.read()