summaryrefslogtreecommitdiffstats
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 12:14:34 +0000
commit35226b3307dcc0687c36fea481a6add4944906d4 (patch)
tree23fd3e9a35271d5735167218810f61c561cd2ffc
parentfda60b31ec4f8b14d72390ae1ca1e982ba4e31dc (diff)
downloadpoky-35226b3307dcc0687c36fea481a6add4944906d4.tar.gz
bitbake: tests/event: Remove empty assignments from event tests
Remove assignments from non-returning calls. (Bitbake rev: a8cac827dd15227a3940ea25c673d91b5e2c2a75) 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--bitbake/lib/bb/tests/event.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/tests/event.py b/bitbake/lib/bb/tests/event.py
index f11fda5064..036fd7e18d 100644
--- a/bitbake/lib/bb/tests/event.py
+++ b/bitbake/lib/bb/tests/event.py
@@ -240,8 +240,8 @@ class EventHandlingTest(unittest.TestCase):
240 expected) 240 expected)
241 241
242 # unregister handler and register it only for OperationStarted 242 # unregister handler and register it only for OperationStarted
243 result = bb.event.remove("event_handler1", 243 bb.event.remove("event_handler1",
244 self._test_process.event_handler1) 244 self._test_process.event_handler1)
245 mask = ["bb.event.OperationStarted"] 245 mask = ["bb.event.OperationStarted"]
246 result = bb.event.register("event_handler1", 246 result = bb.event.register("event_handler1",
247 self._test_process.event_handler1, 247 self._test_process.event_handler1,
@@ -254,8 +254,8 @@ class EventHandlingTest(unittest.TestCase):
254 expected) 254 expected)
255 255
256 # unregister handler and register it only for OperationCompleted 256 # unregister handler and register it only for OperationCompleted
257 result = bb.event.remove("event_handler1", 257 bb.event.remove("event_handler1",
258 self._test_process.event_handler1) 258 self._test_process.event_handler1)
259 mask = ["bb.event.OperationCompleted"] 259 mask = ["bb.event.OperationCompleted"]
260 result = bb.event.register("event_handler1", 260 result = bb.event.register("event_handler1",
261 self._test_process.event_handler1, 261 self._test_process.event_handler1,