diff options
-rw-r--r-- | bitbake/lib/bb/tests/color.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/color.py b/bitbake/lib/bb/tests/color.py index bf03750c69..88dd278006 100644 --- a/bitbake/lib/bb/tests/color.py +++ b/bitbake/lib/bb/tests/color.py | |||
@@ -31,7 +31,7 @@ class ColorCodeTests(unittest.TestCase): | |||
31 | def setUp(self): | 31 | def setUp(self): |
32 | self.d = bb.data.init() | 32 | self.d = bb.data.init() |
33 | self._progress_watcher = ProgressWatcher() | 33 | self._progress_watcher = ProgressWatcher() |
34 | bb.event.register("bb.build.TaskProgress", self._progress_watcher.handle_event) | 34 | bb.event.register("bb.build.TaskProgress", self._progress_watcher.handle_event, data=self.d) |
35 | 35 | ||
36 | def tearDown(self): | 36 | def tearDown(self): |
37 | bb.event.remove("bb.build.TaskProgress", None) | 37 | bb.event.remove("bb.build.TaskProgress", None) |