diff options
author | Armin Rigo <arigo@tunes.org> | 2017-01-02 21:24:42 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-01-02 21:24:42 +0100 |
commit | 49025b32447b870238cfe317f72947e958b0ae34 (patch) | |
tree | f4dc066156b0f3c1a7c9ae055f1a711e25b1082b /testing | |
parent | d7d8dd8b0ce5a45023429045c4df0594de309119 (diff) | |
download | cffi-49025b32447b870238cfe317f72947e958b0ae34.tar.gz |
py3 test fix
Diffstat (limited to 'testing')
-rw-r--r-- | testing/cffi1/test_recompiler.py | 2 |
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) == ( |