summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bs4/tests/test_lxml.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bs4/tests/test_lxml.py')
-rw-r--r--bitbake/lib/bs4/tests/test_lxml.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/bitbake/lib/bs4/tests/test_lxml.py b/bitbake/lib/bs4/tests/test_lxml.py
index 6c2a1d73eb..6b6cdd07cb 100644
--- a/bitbake/lib/bs4/tests/test_lxml.py
+++ b/bitbake/lib/bs4/tests/test_lxml.py
@@ -1,6 +1,5 @@
1"""Tests to ensure that the lxml tree builder generates good trees.""" 1"""Tests to ensure that the lxml tree builder generates good trees."""
2 2
3import re
4import warnings 3import warnings
5 4
6try: 5try:
@@ -14,13 +13,8 @@ except ImportError as e:
14if LXML_PRESENT: 13if LXML_PRESENT:
15 from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML 14 from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML
16 15
17from bs4 import ( 16from bs4 import BeautifulStoneSoup
18 BeautifulSoup,
19 BeautifulStoneSoup,
20 )
21from bs4.element import Comment, Doctype, SoupStrainer
22from bs4.testing import skipIf 17from bs4.testing import skipIf
23from bs4.tests import test_htmlparser
24from bs4.testing import ( 18from bs4.testing import (
25 HTMLTreeBuilderSmokeTest, 19 HTMLTreeBuilderSmokeTest,
26 XMLTreeBuilderSmokeTest, 20 XMLTreeBuilderSmokeTest,