[pypy-commit] pypy py3k: 2to3
Manuel Jacob
noreply at buildbot.pypy.org
Sun Feb 17 23:07:36 CET 2013
Author: Manuel Jacob
Branch: py3k
Changeset: r61373:4da3c416a10c
Date: 2013-02-17 14:46 +0100
http://bitbucket.org/pypy/pypy/changeset/4da3c416a10c/
Log: 2to3
diff --git a/pypy/module/_rawffi/test/test__rawffi.py b/pypy/module/_rawffi/test/test__rawffi.py
--- a/pypy/module/_rawffi/test/test__rawffi.py
+++ b/pypy/module/_rawffi/test/test__rawffi.py
@@ -260,7 +260,6 @@
assert lib.ptr(1, [], 'i')()[0] == 42
def test_getchar(self):
- py3k_skip('bytes vs unicode')
import _rawffi
lib = _rawffi.CDLL(self.lib_name)
get_char = lib.ptr('get_char', ['P', 'H'], 'c')
@@ -272,7 +271,7 @@
intptr = B(1)
intptr[0] = i
res = get_char(dupaptr, intptr)
- assert res[0] == 'dupa'[i:i+1]
+ assert res[0] == b'dupa'[i:i+1]
intptr.free()
dupaptr.free()
dupa.free()
More information about the pypy-commit
mailing list