summaryrefslogtreecommitdiff
path: root/git/test/lib
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-05 10:09:51 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-05 10:09:51 +0100
commitbc8c91200a7fb2140aadd283c66b5ab82f9ad61e (patch)
tree54f8b4e09ae36f465da25ecd16d6377a2a8414a8 /git/test/lib
parentae2ff0f9d704dc776a1934f72a339da206a9fff4 (diff)
downloadgitpython-py3.tar.gz
Fixed io types to make tests work on PY2 once again.py3
Now it's about going through PY3 issues
Diffstat (limited to 'git/test/lib')
-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