summaryrefslogtreecommitdiff
path: root/bs4/tests/test_lxml.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2021-10-23 17:13:58 -0400
committerLeonard Richardson <leonardr@segfault.org>2021-10-23 17:13:58 -0400
commit1b7c99d3dfc65e8b0448f06f084097947d3ce1a2 (patch)
tree37e907220d500b38793be279ea1d2e454e8ca98a /bs4/tests/test_lxml.py
parent0afd48f8b3069fb3577749374e20611b231cb829 (diff)
Added a workaround for an lxml bug (https://bugs.launchpad.net/lxml/+bug/1948551) that caused
problems when parsing a Unicode string beginning with BYTE ORDER MARK. [bug=1947768]
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 1269e57..be954db 100644
--- a/bs4/tests/test_lxml.py
+++ b/bs4/tests/test_lxml.py
@@ -87,7 +87,7 @@ class TestLXMLTreeBuilder(SoupTest, HTMLTreeBuilderSmokeTest):
@skipIf(
not LXML_PRESENT,
"lxml seems not to be present, not testing its XML tree builder.")
-class LXMLXMLTreeBuilderSmokeTest(SoupTest, XMLTreeBuilderSmokeTest):
+class TestLXMLXMLTreeBuilder(SoupTest, XMLTreeBuilderSmokeTest):
"""See ``HTMLTreeBuilderSmokeTest``."""
@property