diff options
author | Armin Rigo <arigo@tunes.org> | 2019-04-02 16:44:10 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2019-04-02 16:44:10 +0200 |
commit | 22887ae7ec10a217b0267ea8a6106ec3b8dd44b3 (patch) | |
tree | ca2e6c7d752fd592ff08821c1ff35a233651f4b5 /c/test_c.py | |
parent | f474398bd2ca7eea2fdb7e61ce9d4b8dd1aa7afa (diff) | |
download | cffi-22887ae7ec10a217b0267ea8a6106ec3b8dd44b3.tar.gz |
improve the test on py2.7
Diffstat (limited to 'c/test_c.py')
-rw-r--r-- | c/test_c.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/test_c.py b/c/test_c.py index 6987f76..4aec6ae 100644 --- a/c/test_c.py +++ b/c/test_c.py @@ -4361,3 +4361,5 @@ def test_int_doesnt_give_bool(): BBool = new_primitive_type("_Bool") x = int(cast(BBool, 42)) assert type(x) is int and x == 1 + x = long(cast(BBool, 42)) + assert type(x) is long and x == 1 |