Sfoglia il codice sorgente

Encoding required on Windows

tags/v0.7.0
Ben Kurtovic 1 anno fa
parent
commit
ec7f98ddb6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      tests/test_tokenizer.py

+ 1
- 1
tests/test_tokenizer.py Vedi File

@@ -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)


Caricamento…
Annulla
Salva