summaryrefslogtreecommitdiff
path: root/bs4/tests/test_lxml.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2018-07-28 18:23:00 -0400
committerLeonard Richardson <leonardr@segfault.org>2018-07-28 18:23:00 -0400
commitb9cfa0330bf4c6017d89ab66dcf33dac925e7044 (patch)
treece8f5fa96bf5761d3da68dc2bbed342380b14e59 /bs4/tests/test_lxml.py
parent6e319a74343b9efb69517ab178dbea921f438ee1 (diff)
When markup contains duplicate elements, a select() call that
includes multiple match clauses will match all relevant elements. [bug=1770596]
Diffstat (limited to 'bs4/tests/test_lxml.py')
-rw-r--r--bs4/tests/test_lxml.py2
1 files changed, 1 insertions, 1 deletions
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(
"<p>foo&#1000000000;bar</p>", "<p>foobar</p>")
- 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 "&#147;", it's been (incorrectly) converted into
# a string like u'\x93'