Preserve chronological order of stdout and stderr with capsys
#6690
+117
−3
capsys
#6690