[pypy-commit] pypy py3.5: py3 compat

arigo pypy.commits at gmail.com
Mon Jan 2 15:19:19 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89315:a42b878433f7
Date: 2017-01-02 21:18 +0100
http://bitbucket.org/pypy/pypy/changeset/a42b878433f7/

Log:	py3 compat

diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py b/pypy/module/_cffi_backend/test/test_recompiler.py
--- a/pypy/module/_cffi_backend/test/test_recompiler.py
+++ b/pypy/module/_cffi_backend/test/test_recompiler.py
@@ -1975,7 +1975,7 @@
                 return s;
             }
         """, packed=True, min_version=(1, 8, 3))
-        assert lib.f().y == chr(40)
+        assert ord(lib.f().y) == 40
         assert lib.f().x == 200
         e = raises(NotImplementedError, lib.g, 0)
         assert str(e.value) == (


More information about the pypy-commit mailing list