From b9cfa0330bf4c6017d89ab66dcf33dac925e7044 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sat, 28 Jul 2018 18:23:00 -0400 Subject: When markup contains duplicate elements, a select() call that includes multiple match clauses will match all relevant elements. [bug=1770596] --- bs4/tests/test_lxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bs4/tests/test_lxml.py') diff --git a/bs4/tests/test_lxml.py b/bs4/tests/test_lxml.py index 23cbaef..8a8f690 100644 --- a/bs4/tests/test_lxml.py +++ b/bs4/tests/test_lxml.py @@ -46,7 +46,7 @@ class LXMLTreeBuilderSmokeTest(SoupTest, HTMLTreeBuilderSmokeTest): self.assertSoupEquals( "

foo�bar

", "

foobar

") - def test_entities_in_original_document_encoding(self): + def test_entities_in_foreign_document_encoding(self): # We can't implement this case correctly because by the time we # hear about markup like "“", it's been (incorrectly) converted into # a string like u'\x93' -- cgit v1.2.3