diff options
author | Armin Rigo <arigo@tunes.org> | 2020-07-27 17:58:04 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2020-07-27 17:58:04 +0200 |
commit | 23a2cf4031c1fa3b0652fe4c87b05283b813d815 (patch) | |
tree | 9fa68fdf6aad0e1b7e5f6b224e1a692ea2904927 /testing/cffi0 | |
parent | 75b945d304ec9013e1885c565c2c7bf2a9400f88 (diff) | |
download | cffi-23a2cf4031c1fa3b0652fe4c87b05283b813d815.tar.gz |
CPython 3.9b5 fix
Diffstat (limited to 'testing/cffi0')
-rw-r--r-- | testing/cffi0/test_verify.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/cffi0/test_verify.py b/testing/cffi0/test_verify.py index 3a1c0b9..65833b8 100644 --- a/testing/cffi0/test_verify.py +++ b/testing/cffi0/test_verify.py @@ -97,6 +97,11 @@ def _Wconversion(cdef, source, **kargs): return lib def test_Wconversion_unsigned(): + if '-Wno-sign-conversion' in extra_compile_args: + # CPython 3.9 needs -Wno-sign-conversion, so we can't meaningfully + # run this test + py.test.skip("cannot test this on CPython >= 3.9") + # _Wconversion("unsigned foo(void);", "int foo(void) { return -1;}") |