diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-04-28 22:57:01 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-28 22:57:01 +0000 |
| commit | e69c74832884db8166b379a04a87c9db91b2814e (patch) | |
| tree | 40a9fe3ff26903bad945b260ab7f862275a62a7e /lldb/test/class_static/TestStaticVariables.py | |
| parent | 8409bce4aca162fad81e43f84cece1b9b13cde77 (diff) | |
| download | bcm5719-llvm-e69c74832884db8166b379a04a87c9db91b2814e.tar.gz bcm5719-llvm-e69c74832884db8166b379a04a87c9db91b2814e.zip | |
Modify the test suite and lldbutil.py to utilize the Python iteration pattern now that
the lldb iteration protocol has been added to lldb.py module.
llvm-svn: 130452
Diffstat (limited to 'lldb/test/class_static/TestStaticVariables.py')
| -rw-r--r-- | lldb/test/class_static/TestStaticVariables.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/class_static/TestStaticVariables.py b/lldb/test/class_static/TestStaticVariables.py index c9f9fc3bcd8..12ff77853a5 100644 --- a/lldb/test/class_static/TestStaticVariables.py +++ b/lldb/test/class_static/TestStaticVariables.py @@ -101,8 +101,7 @@ class StaticVariableTestCase(TestBase): # in_scope_only => False valList = frame.GetVariables(False, False, True, False) - from lldbutil import lldb_iter - for val in lldb_iter(valList, 'GetSize', 'GetValueAtIndex'): + for val in valList: self.DebugSBValue(frame, val) self.assertTrue(val.GetValueType() == lldb.eValueTypeVariableGlobal) name = val.GetName() |

