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/support.py | |
parent | 75b945d304ec9013e1885c565c2c7bf2a9400f88 (diff) | |
download | cffi-23a2cf4031c1fa3b0652fe4c87b05283b813d815.tar.gz |
CPython 3.9b5 fix
Diffstat (limited to 'testing/support.py')
-rw-r--r-- | testing/support.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/support.py b/testing/support.py index de8131c..282224d 100644 --- a/testing/support.py +++ b/testing/support.py @@ -112,3 +112,7 @@ else: extra_compile_args = ['-Werror', '-Wall', '-Wextra', '-Wconversion', '-Wno-unused-parameter', '-Wno-unreachable-code'] + # CPython 3.9 added in its headers something that triggers this warning, + # so we need to disable it + if sys.version_info >= (3, 9): + extra_compile_args.append('-Wno-sign-conversion') |