From 166c09832f2f76b4a6e753b027da8875b2ebba19 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 5 Jan 2015 13:15:46 +1100 Subject: [PATCH] * Upd test for Python3 --- tests/test_contractions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_contractions.py b/tests/test_contractions.py index d3505aba7..aeaccaaf2 100644 --- a/tests/test_contractions.py +++ b/tests/test_contractions.py @@ -10,8 +10,8 @@ def EN(): def test_possess(EN): tokens = EN("Mike's") - assert EN.vocab.strings[tokens[0].sic] == "Mike" - assert EN.vocab.strings[tokens[1].sic] == "'s" + assert EN.vocab.strings[tokens[0].sic] == b"Mike" + assert EN.vocab.strings[tokens[1].sic] == b"'s" assert len(tokens) == 2