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/bb/tests | |
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/bb/tests')
-rw-r--r-- | bitbake/lib/bb/tests/cooker.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/tests/cow.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/tests/runqueue.py | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/bitbake/lib/bb/tests/cooker.py b/bitbake/lib/bb/tests/cooker.py index 090916e949..74c903f010 100644 --- a/bitbake/lib/bb/tests/cooker.py +++ b/bitbake/lib/bb/tests/cooker.py | |||
@@ -5,7 +5,6 @@ | |||
5 | # | 5 | # |
6 | 6 | ||
7 | import unittest | 7 | import unittest |
8 | import tempfile | ||
9 | import os | 8 | import os |
10 | import bb, bb.cooker | 9 | import bb, bb.cooker |
11 | import re | 10 | import re |
diff --git a/bitbake/lib/bb/tests/cow.py b/bitbake/lib/bb/tests/cow.py index b4af4bbcbf..bf6e79fcee 100644 --- a/bitbake/lib/bb/tests/cow.py +++ b/bitbake/lib/bb/tests/cow.py | |||
@@ -7,7 +7,7 @@ | |||
7 | # | 7 | # |
8 | 8 | ||
9 | import unittest | 9 | import unittest |
10 | import os | 10 | |
11 | 11 | ||
12 | class COWTestCase(unittest.TestCase): | 12 | class COWTestCase(unittest.TestCase): |
13 | """ | 13 | """ |
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 83fad3ff0d..4d347dead7 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -9,7 +9,6 @@ | |||
9 | import unittest | 9 | import unittest |
10 | import hashlib | 10 | import hashlib |
11 | import tempfile | 11 | import tempfile |
12 | import subprocess | ||
13 | import collections | 12 | import collections |
14 | import os | 13 | import os |
15 | from bb.fetch2 import URI | 14 | from bb.fetch2 import URI |
diff --git a/bitbake/lib/bb/tests/runqueue.py b/bitbake/lib/bb/tests/runqueue.py index 20c88ac3d5..4ba12a0772 100644 --- a/bitbake/lib/bb/tests/runqueue.py +++ b/bitbake/lib/bb/tests/runqueue.py | |||
@@ -7,7 +7,6 @@ | |||
7 | # | 7 | # |
8 | 8 | ||
9 | import unittest | 9 | import unittest |
10 | import bb | ||
11 | import os | 10 | import os |
12 | import tempfile | 11 | import tempfile |
13 | import subprocess | 12 | import subprocess |