Skip to content

Commit 53bb796

Browse files
HTML output file test open with utf-8
1 parent fc753ce commit 53bb796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/geophires_x_tests/test_outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_html_output_file(self):
2020
)
2121
)
2222
self.assertTrue(html_path.exists())
23-
with html_path.open() as f:
23+
with open(html_path, encoding='UTF-8') as f:
2424
html_content = f.read()
2525
self.assertIn('***CASE REPORT***', html_content)
2626
# TODO expand test to assert more about output HTML

0 commit comments

Comments
 (0)