We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a1cd6f commit 6ef7577Copy full SHA for 6ef7577
setup.py
@@ -6,10 +6,10 @@
6
'uritemplate'
7
]
8
9
-with open("README.rst") as file:
+with open("README.rst", encoding="utf-8") as file:
10
readme = file.read()
11
12
-with open("HISTORY.rst") as file:
+with open("HISTORY.rst", encoding="utf-8") as file:
13
history = file.read()
14
15
setup(
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:
16
examples = json.load(examples_file)
17
return examples
18
0 commit comments