summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bs4/tests/test_docs.py
diff options
context:
space:
mode:
authorFrazer Clews <frazer.clews@codethink.co.uk>2020-01-16 16:55:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-19 13:31:05 +0000
commit0ac5174c7d39a3e49893df0d517d47bec1935555 (patch)
tree479496afb1da7814071e39e888e8926cd03bec57 /bitbake/lib/bs4/tests/test_docs.py
parent444bcb6cb6be8d5205fc88790360d864e633a555 (diff)
downloadpoky-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.py4
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
10import atexit
11import doctest 10import doctest
12import 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)
15import unittest
16 13
17DOCTEST_FLAGS = ( 14DOCTEST_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 = [