소스 검색

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)


불러오는 중...
취소
저장