summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r--git/test/lib/helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index 43079dbe..bc9c351a 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -48,8 +48,8 @@ class StringProcessAdapter(object):
Its tailored to work with the test system only"""
def __init__(self, input_string):
- self.stdout = io.StringIO(input_string)
- self.stderr = io.StringIO()
+ self.stdout = io.BytesIO(input_string)
+ self.stderr = io.BytesIO()
def wait(self):
return 0