aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/tests
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:30:58 +0000
commit4367692a932ac135c5aa4f9f2a4e4f0150f76697 (patch)
treecfe5d7e8dcf9d924b301ad683444b293f83b2d46 /lib/bb/tests
parentf5daef68703481a3c243dfecc7de404e6ebfdbb6 (diff)
downloadbitbake-4367692a932ac135c5aa4f9f2a4e4f0150f76697.tar.gz
lib: remove unused imports
removed unused imports which made the code harder to read, and slightly but less efficient Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests')
-rw-r--r--lib/bb/tests/cooker.py1
-rw-r--r--lib/bb/tests/cow.py2
-rw-r--r--lib/bb/tests/fetch.py1
-rw-r--r--lib/bb/tests/runqueue.py1
4 files changed, 1 insertions, 4 deletions
diff --git a/lib/bb/tests/cooker.py b/lib/bb/tests/cooker.py
index 090916e94..74c903f01 100644
--- a/lib/bb/tests/cooker.py
+++ b/lib/bb/tests/cooker.py
@@ -5,7 +5,6 @@
#
import unittest
-import tempfile
import os
import bb, bb.cooker
import re
diff --git a/lib/bb/tests/cow.py b/lib/bb/tests/cow.py
index b4af4bbcb..bf6e79fce 100644
--- a/lib/bb/tests/cow.py
+++ b/lib/bb/tests/cow.py
@@ -7,7 +7,7 @@
#
import unittest
-import os
+
class COWTestCase(unittest.TestCase):
"""
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index 83fad3ff0..4d347dead 100644
--- a/lib/bb/tests/fetch.py
+++ b/lib/bb/tests/fetch.py
@@ -9,7 +9,6 @@
import unittest
import hashlib
import tempfile
-import subprocess
import collections
import os
from bb.fetch2 import URI
diff --git a/lib/bb/tests/runqueue.py b/lib/bb/tests/runqueue.py
index 20c88ac3d..4ba12a077 100644
--- a/lib/bb/tests/runqueue.py
+++ b/lib/bb/tests/runqueue.py
@@ -7,7 +7,6 @@
#
import unittest
-import bb
import os
import tempfile
import subprocess