From 4899420f1793d7cb2eaeba598290c07c595f0fcc Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 25 Feb 2011 23:24:25 +0000 Subject: [PATCH] Simplify the dictionary setting for test_set_working_dir_* methods. llvm-svn: 126531 --- lldb/test/process_launch/TestProcessLaunch.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lldb/test/process_launch/TestProcessLaunch.py b/lldb/test/process_launch/TestProcessLaunch.py index 9136a4ab1c65..bfb0ef5238a7 100644 --- a/lldb/test/process_launch/TestProcessLaunch.py +++ b/lldb/test/process_launch/TestProcessLaunch.py @@ -96,19 +96,17 @@ class ProcessLaunchTestCase(TestBase): if not success: self.fail (err_msg) - dict = {'CXX_SOURCES' : 'print_cwd.cpp'} + d = {'CXX_SOURCES' : 'print_cwd.cpp'} @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") def test_set_working_dir_with_dsym (self): - dict = {'CXX_SOURCES' : 'print_cwd.cpp'} - self.buildDsym(dictionary=dict) - self.setTearDownCleanup(dict) + self.buildDsym(dictionary=self.d) + self.setTearDownCleanup(self.d) self.my_working_dir_test() def test_set_working_dir_with_dwarf (self): - dict = {'CXX_SOURCES' : 'print_cwd.cpp'} - self.buildDwarf(dictionary=dict) - self.setTearDownCleanup(dict) + self.buildDwarf(dictionary=self.d) + self.setTearDownCleanup(self.d) self.my_working_dir_test() # rdar://problem/9056462 -- GitLab