Browse Source

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

tags/v0.4
Ben Kurtovic 9 years ago
parent
commit
e1ebb59b9e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/_test_tokenizer.py

+ 1
- 1
tests/_test_tokenizer.py View File

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


Loading…
Cancel
Save