Procházet zdrojové kódy

Ensure token list is copied before being fed to the builder.

tags/v0.4
Ben Kurtovic před 9 roky
rodič
revize
e1ebb59b9e
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

@@ -53,7 +53,7 @@ class TokenizerTestCase(object):
def inner(self):
if hasattr(self, "roundtrip"):
expected = data["input"]
actual = str(Builder().build(data["output"]))
actual = str(Builder().build(data["output"][:]))
else:
expected = data["output"]
actual = self.tokenizer().tokenize(data["input"])


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