aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>2017-08-15 17:37:55 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-07 11:57:37 +0000
commita8cac827dd15227a3940ea25c673d91b5e2c2a75 (patch)
treeced2665debaeb07b0820fc97eacb93313f86fae5
parentdaa59a2057c811b20d75235526ac6c2079ac6e10 (diff)
downloadbitbake-a8cac827dd15227a3940ea25c673d91b5e2c2a75.tar.gz
bitbake-a8cac827dd15227a3940ea25c673d91b5e2c2a75.tar.bz2
bitbake-a8cac827dd15227a3940ea25c673d91b5e2c2a75.zip
tests/event: Remove empty assignments from event tests
Remove assignments from non-returning calls. Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/tests/event.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/tests/event.py b/lib/bb/tests/event.py
index f11fda50..036fd7e1 100644
--- a/lib/bb/tests/event.py
+++ b/lib/bb/tests/event.py
@@ -240,8 +240,8 @@ class EventHandlingTest(unittest.TestCase):
expected)
# unregister handler and register it only for OperationStarted
- result = bb.event.remove("event_handler1",
- self._test_process.event_handler1)
+ bb.event.remove("event_handler1",
+ self._test_process.event_handler1)
mask = ["bb.event.OperationStarted"]
result = bb.event.register("event_handler1",
self._test_process.event_handler1,
@@ -254,8 +254,8 @@ class EventHandlingTest(unittest.TestCase):
expected)
# unregister handler and register it only for OperationCompleted
- result = bb.event.remove("event_handler1",
- self._test_process.event_handler1)
+ bb.event.remove("event_handler1",
+ self._test_process.event_handler1)
mask = ["bb.event.OperationCompleted"]
result = bb.event.register("event_handler1",
self._test_process.event_handler1,