Skip to content

Commit

Permalink
fix(test): Force reading file with utf8 in tests for windows (#5679)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
  • Loading branch information
jfuss and jfuss authored Aug 2, 2023
1 parent 27eb2e1 commit 135da3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/local/invoke/test_integrations_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def test_invoke_returns_utf8(self):

process_stdout = stdout.strip()

with open(self.event_utf8_path) as f:
with open(self.event_utf8_path, encoding="utf8") as f:
expected_output = json.dumps(json.load(f), ensure_ascii=False)

self.assertEqual(process.returncode, 0)
Expand Down

0 comments on commit 135da3a

Please sign in to comment.