diff options
| -rw-r--r-- | bitbake/lib/bb/tests/data.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/data.py b/bitbake/lib/bb/tests/data.py index b7676859a6..98e430ce2a 100644 --- a/bitbake/lib/bb/tests/data.py +++ b/bitbake/lib/bb/tests/data.py | |||
| @@ -80,7 +80,6 @@ class DataExpansions(unittest.TestCase): | |||
| 80 | def test_python_snippet_function_reference(self): | 80 | def test_python_snippet_function_reference(self): |
| 81 | self.d.setVar("TESTVAL", "testvalue") | 81 | self.d.setVar("TESTVAL", "testvalue") |
| 82 | self.d.setVar("testfunc", 'd.getVar("TESTVAL")') | 82 | self.d.setVar("testfunc", 'd.getVar("TESTVAL")') |
| 83 | self.d.setVarFlag("testfunc", "func", "1") | ||
| 84 | context = bb.utils.get_context() | 83 | context = bb.utils.get_context() |
| 85 | context["testfunc"] = lambda d: d.getVar("TESTVAL") | 84 | context["testfunc"] = lambda d: d.getVar("TESTVAL") |
| 86 | val = self.d.expand("${@testfunc(d)}") | 85 | val = self.d.expand("${@testfunc(d)}") |
