Explorar el Código

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

tags/v0.4
Ben Kurtovic hace 9 años
padre
commit
e1ebb59b9e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      tests/_test_tokenizer.py

+ 1
- 1
tests/_test_tokenizer.py Ver fichero

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


Cargando…
Cancelar
Guardar