@@ -55,8 +55,8 @@ def test_run_command_capture_stderr(self, mock_stderr):
5555 @patch ('sys.stderr' , new_callable = StringIO )
5656 def test_run_command_capture_stderr_merged (self , mock_stderr ):
5757 """ Test run_command() with merged error output capture. """
58- proc = run_command ("/bin/echo error_data 1>&2" ,
59- capture_output = True , merged_capture = True , shell = True )
58+ proc = run_command ("/bin/echo error_data 1>&2" , capture_output = True ,
59+ merge_out_err = True , shell = True )
6060 # With merged_capture, standard err must be available in out attribute
6161 # of RunResult named tuple, and err attribute must be None.
6262 self .assertEqual (proc .out , "error_data\n " )
@@ -68,7 +68,7 @@ def test_run_command_capture_stderr_merged(self, mock_stderr):
6868 def test_run_command_capture_both_merged (self , mock_stderr ):
6969 """ Test run_command() with merged error and standard output capture. """
7070 proc = run_command ("/bin/echo error_data 1>&2 && /bin/echo output_data" ,
71- capture_output = True , merged_capture = True , shell = True )
71+ capture_output = True , merge_out_err = True , shell = True )
7272 # With merge_out_err, standard err must be available in out attribute
7373 # of RunResult named tuple, and err attribute must be None.
7474 self .assertEqual (proc .out , "error_data\n output_data\n " )
0 commit comments