diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py index c1595cf2551..bd7973e0dc3 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py @@ -66,7 +66,7 @@ class CommandScriptImmediateOutputTestCase (PExpectTest): starter_string = 'Starter Garbage\n' write_string = 'writing to file with mode: ' - for path, mode in test_files.iteritems(): + for path, mode in test_files.items(): with open(path, 'w+') as init: init.write(starter_string) @@ -78,7 +78,7 @@ class CommandScriptImmediateOutputTestCase (PExpectTest): self.sendline( 'command script add -f custom_command.write_file mywrite', patterns=[prompt]) - for path, mode in test_files.iteritems(): + for path, mode in test_files.items(): command = 'mywrite "' + path + '" ' + mode self.sendline(command, patterns=[prompt]) @@ -87,7 +87,7 @@ class CommandScriptImmediateOutputTestCase (PExpectTest): self.quit(gracefully=False) - for path, mode in test_files.iteritems(): + for path, mode in test_files.items(): with open(path, 'r') as result: if mode in ['r', 'a', 'a+']: self.assertEquals(result.readline(), starter_string) |