diff options
Diffstat (limited to 'bs4/testing.py')
-rw-r--r-- | bs4/testing.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bs4/testing.py b/bs4/testing.py index e144e7e..9f12e8d 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -491,6 +491,12 @@ Hello, world! u"<p>\u2022 AT&T is in the s&p 500</p>" ) + def test_apos_entity(self): + self.assertSoupEquals( + u"<p>Bob's Bar</p>", + u"<p>Bob's Bar</p>", + ) + def test_entities_in_foreign_document_encoding(self): # “ and ” are invalid numeric entities referencing # Windows-1252 characters. - references a character common |