diff options
Diffstat (limited to 'bitbake/lib/bs4/tests/test_lxml.py')
-rw-r--r-- | bitbake/lib/bs4/tests/test_lxml.py | 8 |
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 | ||
3 | import re | ||
4 | import warnings | 3 | import warnings |
5 | 4 | ||
6 | try: | 5 | try: |
@@ -14,13 +13,8 @@ except ImportError as e: | |||
14 | if LXML_PRESENT: | 13 | if LXML_PRESENT: |
15 | from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML | 14 | from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML |
16 | 15 | ||
17 | from bs4 import ( | 16 | from bs4 import BeautifulStoneSoup |
18 | BeautifulSoup, | ||
19 | BeautifulStoneSoup, | ||
20 | ) | ||
21 | from bs4.element import Comment, Doctype, SoupStrainer | ||
22 | from bs4.testing import skipIf | 17 | from bs4.testing import skipIf |
23 | from bs4.tests import test_htmlparser | ||
24 | from bs4.testing import ( | 18 | from bs4.testing import ( |
25 | HTMLTreeBuilderSmokeTest, | 19 | HTMLTreeBuilderSmokeTest, |
26 | XMLTreeBuilderSmokeTest, | 20 | XMLTreeBuilderSmokeTest, |