Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r3259:dbc31afe99d0 Date: 2019-04-02 16:44 +0200 http://bitbucket.org/cffi/cffi/changeset/dbc31afe99d0/
Log: improve the test on py2.7 diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -4361,3 +4361,5 @@ 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 _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit