File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lldb/test/API/functionalities/reproducers/attach Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ def test_create_after_attach_with_fork(self):
53
53
stdin = subprocess .PIPE ,
54
54
stdout = subprocess .PIPE ,
55
55
stderr = subprocess .PIPE )
56
- outs , errs = capture .communicate ()
56
+ outs , _ = capture .communicate ()
57
+ outs = outs .decode ('utf-8' )
57
58
self .assertIn ('Process {} stopped' .format (pid ), outs )
58
59
self .assertIn ('Reproducer written' , outs )
59
60
@@ -63,7 +64,8 @@ def test_create_after_attach_with_fork(self):
63
64
stdin = subprocess .PIPE ,
64
65
stdout = subprocess .PIPE ,
65
66
stderr = subprocess .PIPE )
66
- outs , errs = replay .communicate ()
67
+ outs , _ = replay .communicate ()
68
+ outs = outs .decode ('utf-8' )
67
69
self .assertIn ('Process {} stopped' .format (pid ), outs )
68
70
69
71
# We can dump the reproducer in the current context.
You can’t perform that action at this time.
0 commit comments