Procházet zdrojové kódy

Encoding required on Windows

tags/v0.7.0
Ben Kurtovic před 1 rokem
rodič
revize
ec7f98ddb6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      tests/test_tokenizer.py

+ 1
- 1
tests/test_tokenizer.py Zobrazit soubor

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


Načítá se…
Zrušit
Uložit