From ec96ab52866addda3282489d3a6e962efc229ac7 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 6 Dec 2009 11:47:41 -0600 Subject: [PATCH] 2.7's TextIO requires unicode --HG-- branch : trunk --- testing/path/test_svnauth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]