Przeglądaj źródła

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

tags/v0.4
Ben Kurtovic 9 lat temu
rodzic
commit
e1ebb59b9e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      tests/_test_tokenizer.py

+ 1
- 1
tests/_test_tokenizer.py Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz