diff options
Diffstat (limited to 'bs4/testing.py')
-rw-r--r-- | bs4/testing.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bs4/testing.py b/bs4/testing.py index b004c18..40dc976 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -217,6 +217,10 @@ class HTMLTreeBuilderSmokeTest(object): self.assertSoupEquals("<p>piñata</p>", expect) self.assertSoupEquals("<p>piñata</p>", expect) + def test_quot_entity_converted_to_quotation_mark(self): + self.assertSoupEquals("<p>I said "good day!"</p>", + '<p>I said "good day!"</p>') + def test_out_of_range_entity(self): expect = u"\N{REPLACEMENT CHARACTER}" self.assertSoupEquals("�", expect) |