diff --git a/testing/path/test_svnauth.py b/testing/path/test_svnauth.py index e33141503..15914551d 100644 --- a/testing/path/test_svnauth.py +++ b/testing/path/test_svnauth.py @@ -234,7 +234,7 @@ class TestSvnURLAuth(object): def test_log(self): u = svnurl_no_svn('http://foo.bar/svn/foo', auth=self.auth) - u.popen_output = py.io.TextIO('''\ + u.popen_output = py.io.TextIO(py.builtin._totext('''\ @@ -244,7 +244,7 @@ class TestSvnURLAuth(object): -''') +''', 'ascii')) u.check = lambda *args, **kwargs: True ret = u.log(10, 20, verbose=True) assert '--username="foo" --password="bar"' in u.commands[0]