summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-01-02 21:24:42 +0100
committerArmin Rigo <arigo@tunes.org>2017-01-02 21:24:42 +0100
commit49025b32447b870238cfe317f72947e958b0ae34 (patch)
treef4dc066156b0f3c1a7c9ae055f1a711e25b1082b /testing
parentd7d8dd8b0ce5a45023429045c4df0594de309119 (diff)
downloadcffi-49025b32447b870238cfe317f72947e958b0ae34.tar.gz
py3 test fix
Diffstat (limited to 'testing')
-rw-r--r--testing/cffi1/test_recompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/cffi1/test_recompiler.py b/testing/cffi1/test_recompiler.py
index 5c54837..d988735 100644
--- a/testing/cffi1/test_recompiler.py
+++ b/testing/cffi1/test_recompiler.py
@@ -2166,7 +2166,7 @@ def test_call_with_packed_struct():
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) == (