Skip to content

Commit

Permalink
Merge pull request #531 from qiboteam/cuquantumprint
Browse files Browse the repository at this point in the history
Fix `test_prints.py` when cuquantum is installed
  • Loading branch information
scarrazza committed Jan 17, 2022
2 parents 0cf3937 + 2e2f56d commit 86fa8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/tests/test_prints.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, code, filedir=None):
@classmethod
def from_file(cls, filedir):
assert filedir[-3:] == ".py"
with open(filedir, "r") as file:
with open(filedir, "r", encoding="utf-8") as file:
code = file.read()
return cls(code, filedir)

Expand Down

0 comments on commit 86fa8b7

Please sign in to comment.