aboutsummaryrefslogtreecommitdiff
path: root/tests/test_from_fixtures.py
diff options
context:
space:
mode:
authorBrett Cannon <brcan@microsoft.com>2019-12-06 11:12:20 -0800
committerBrett Cannon <brcan@microsoft.com>2019-12-06 11:12:20 -0800
commit6ef7577baf8a99539d4c2e3965c4797c6ea5d318 (patch)
tree7c5bbac7ebb67871395fbcf0edd49f9c38bf9903 /tests/test_from_fixtures.py
parent0a1cd6f8adf44f7cbe1717e4db44fec364f4e272 (diff)
downloaduritemplates-6ef7577baf8a99539d4c2e3965c4797c6ea5d318.tar.gz
Specify file encodings
Diffstat (limited to 'tests/test_from_fixtures.py')
-rw-r--r--tests/test_from_fixtures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_from_fixtures.py b/tests/test_from_fixtures.py
index c21d395..4b92081 100644
--- a/tests/test_from_fixtures.py
+++ b/tests/test_from_fixtures.py
@@ -12,7 +12,7 @@ def fixture_file_path(filename):
def load_examples(filename):
path = fixture_file_path(filename)
- with open(path, 'r') as examples_file:
+ with open(path, 'r', encoding="utf-8") as examples_file:
examples = json.load(examples_file)
return examples