ソースを参照

Encoding required on Windows

tags/v0.7.0
Ben Kurtovic 1年前
親
コミット
ec7f98ddb6
1個のファイルの変更、1行の追加、1行の削除
  1. +1
    -1
      tests/test_tokenizer.py

+ 1
- 1
tests/test_tokenizer.py ファイルの表示

@@ -110,7 +110,7 @@ def build():
if not filename.endswith(extension):
continue
fullname = os.path.join(directory, filename)
with open(fullname) as fp:
with open(fullname, encoding="utf8") as fp:
text = fp.read()
name = os.path.split(fullname)[1][: -len(extension)]
yield from _load_tests(fullname, name, text)


読み込み中…
キャンセル
保存