Author: Manuel Jacob
Branch: py3k
Changeset: r61374:32478fc9726f
Date: 2013-02-17 14:48 +0100
http://bitbucket.org/pypy/pypy/changeset/32478fc9726f/

Log:    Work around BytecodeCorruption exception.

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
@@ -271,7 +271,8 @@
             intptr = B(1)
             intptr[0] = i
             res = get_char(dupaptr, intptr)
-            assert res[0] == b'dupa'[i:i+1]
+            char = b'dupa'[i:i+1]
+            assert res[0] == char
             intptr.free()
         dupaptr.free()
         dupa.free()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to