Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r2849:863081891de4
Date: 2017-01-02 21:24 +0100
http://bitbucket.org/cffi/cffi/changeset/863081891de4/

Log:    py3 test fix

diff --git a/testing/cffi1/test_recompiler.py b/testing/cffi1/test_recompiler.py
--- a/testing/cffi1/test_recompiler.py
+++ b/testing/cffi1/test_recompiler.py
@@ -2166,7 +2166,7 @@
             return s;
         }
     """)
-    assert lib.f().y == chr(40)
+    assert ord(lib.f().y) == 40
     assert lib.f().x == 200
     e = py.test.raises(NotImplementedError, lib.g, 0)
     assert str(e.value) == (
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to