diff options
Diffstat (limited to 'testing/cffi1/test_recompiler.py')
-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) == ( |