diff options
author | Frazer Clews <frazer.clews@codethink.co.uk> | 2020-01-16 16:55:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-19 13:31:05 +0000 |
commit | 0ac5174c7d39a3e49893df0d517d47bec1935555 (patch) | |
tree | 479496afb1da7814071e39e888e8926cd03bec57 /bitbake/lib/bs4/tests/test_soup.py | |
parent | 444bcb6cb6be8d5205fc88790360d864e633a555 (diff) | |
download | poky-0ac5174c7d39a3e49893df0d517d47bec1935555.tar.gz |
bitbake: lib: remove unused imports
removed unused imports which made the code harder to read, and slightly
but less efficient
(Bitbake rev: 4367692a932ac135c5aa4f9f2a4e4f0150f76697)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bs4/tests/test_soup.py')
-rw-r--r-- | bitbake/lib/bs4/tests/test_soup.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/lib/bs4/tests/test_soup.py b/bitbake/lib/bs4/tests/test_soup.py index f87949e3d3..6ad3cb3765 100644 --- a/bitbake/lib/bs4/tests/test_soup.py +++ b/bitbake/lib/bs4/tests/test_soup.py | |||
@@ -1,16 +1,12 @@ | |||
1 | # -*- coding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
2 | """Tests of Beautiful Soup as a whole.""" | 2 | """Tests of Beautiful Soup as a whole.""" |
3 | 3 | ||
4 | from pdb import set_trace | ||
5 | import logging | 4 | import logging |
6 | import unittest | 5 | import unittest |
7 | import sys | 6 | import sys |
8 | import tempfile | 7 | import tempfile |
9 | 8 | ||
10 | from bs4 import ( | 9 | from bs4 import BeautifulSoup |
11 | BeautifulSoup, | ||
12 | BeautifulStoneSoup, | ||
13 | ) | ||
14 | from bs4.element import ( | 10 | from bs4.element import ( |
15 | CharsetMetaAttributeValue, | 11 | CharsetMetaAttributeValue, |
16 | ContentMetaAttributeValue, | 12 | ContentMetaAttributeValue, |