Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r65676:d962b5d6ed78
Date: 2013-07-25 17:01 -0700
http://bitbucket.org/pypy/pypy/changeset/d962b5d6ed78/

Log:    now bytes on py3

diff --git a/pypy/module/_ffi/test/test_type_converter.py 
b/pypy/module/_ffi/test/test_type_converter.py
--- a/pypy/module/_ffi/test/test_type_converter.py
+++ b/pypy/module/_ffi/test/test_type_converter.py
@@ -119,7 +119,7 @@
 
     def test_strings(self):
         # first, try automatic conversion from applevel
-        self.check(app_types.char_p, self.space.wrap('foo'), 'foo')
+        self.check(app_types.char_p, self.space.wrapbytes('foo'), 'foo')
         self.check(app_types.unichar_p, self.space.wrap(u'foo\u1234'), 
u'foo\u1234')    
         self.check(app_types.unichar_p, self.space.wrap('foo'), u'foo')    
         # then, try to pass explicit pointers
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to