From 404e484276531f178416583a0cd5b2a247cf4e4e Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 13 Oct 2015 04:54:15 +0200 Subject: [PATCH] * Fix prag_sbd tests --- tests/prag_sbd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/prag_sbd.py b/tests/prag_sbd.py index 35e9d345a..3a74bc9da 100644 --- a/tests/prag_sbd.py +++ b/tests/prag_sbd.py @@ -196,11 +196,11 @@ def test_gr39(): def test_gr40(): sents = get_sent_strings("This is a sentence\ncut off in the middle because pdf.") - assert sents == ["This is a sentence cut off in the middle because pdf."] + assert sents == ["This is a sentence\ncut off in the middle because pdf."] def test_gr41(): sents = get_sent_strings("It was a cold \nnight in the city.") - assert sents == ["It was a cold night in the city."] + assert sents == ["It was a cold \nnight in the city."] def test_gr42(): sents = get_sent_strings("features\ncontact manager\nevents, activities\n") @@ -220,10 +220,10 @@ def test_gr45(): def test_gr46(): sents = get_sent_strings("Thoreau argues that by simplifying one’s life, “the laws of the universe will appear less complex. . . .”") - assert sents == ("Thoreau argues that by simplifying one’s life, “the laws of the universe will appear less complex. . . .”") + assert sents == ["Thoreau argues that by simplifying one’s life, “the laws of the universe will appear less complex. . . .”"] def test_gr47(): - sents = get_sent_strings("""Bohr [...] used the analogy of parallel stairways [...]" (Smith 55).""") + sents = get_sent_strings(""""Bohr [...] used the analogy of parallel stairways [...]" (Smith 55).""") assert sents == ['"Bohr [...] used the analogy of parallel stairways [...]" (Smith 55).'] def test_gr48():