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_docs.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_docs.py')
-rw-r--r-- | bitbake/lib/bs4/tests/test_docs.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bs4/tests/test_docs.py b/bitbake/lib/bs4/tests/test_docs.py index 5b9f677093..d1d76a33bf 100644 --- a/bitbake/lib/bs4/tests/test_docs.py +++ b/bitbake/lib/bs4/tests/test_docs.py | |||
@@ -7,19 +7,15 @@ __all__ = [ | |||
7 | 'additional_tests', | 7 | 'additional_tests', |
8 | ] | 8 | ] |
9 | 9 | ||
10 | import atexit | ||
11 | import doctest | 10 | import doctest |
12 | import os | ||
13 | #from pkg_resources import ( | 11 | #from pkg_resources import ( |
14 | # resource_filename, resource_exists, resource_listdir, cleanup_resources) | 12 | # resource_filename, resource_exists, resource_listdir, cleanup_resources) |
15 | import unittest | ||
16 | 13 | ||
17 | DOCTEST_FLAGS = ( | 14 | DOCTEST_FLAGS = ( |
18 | doctest.ELLIPSIS | | 15 | doctest.ELLIPSIS | |
19 | doctest.NORMALIZE_WHITESPACE | | 16 | doctest.NORMALIZE_WHITESPACE | |
20 | doctest.REPORT_NDIFF) | 17 | doctest.REPORT_NDIFF) |
21 | 18 | ||
22 | |||
23 | # def additional_tests(): | 19 | # def additional_tests(): |
24 | # "Run the doc tests (README.txt and docs/*, if any exist)" | 20 | # "Run the doc tests (README.txt and docs/*, if any exist)" |
25 | # doctest_files = [ | 21 | # doctest_files = [ |