Skip to content

Commit 3b85db9

Browse files
committed
Sigh. Windows... Use utf-8 everywhere.
1 parent 1ff1561 commit 3b85db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/tests/_suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def to_unittest_testcase(self, *suites, **kwargs):
140140
return cls
141141

142142
def _tests_in(self, subject, path):
143-
for each in json.loads(path.read_text()):
143+
for each in json.loads(path.read_text(encoding="utf-8")):
144144
yield (
145145
_Test(
146146
version=self,

0 commit comments

Comments
 (0)