Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
vstinner committed Feb 9, 2022
commit a6f1085f2f0621c3eb52ab32c27873e40509e33e
3 changes: 3 additions & 0 deletions tests/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
# non-designated initializers in the same initializer list is a C99
# extension
'-Wno-c99-designator',
# Option -Wstrict-prototypes is not valid for C++: the option comes from
# Python 3.5 C flags
'-Wno-strict-prototypes',
]

def main():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pythoncapi_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def display_title(title):

def build_ext():
if TEST_CPP:
display_title("Build the C extension")
else:
display_title("Build the C and C++ extensions")
else:
display_title("Build the C extension")
if os.path.exists("build"):
shutil.rmtree("build")
cmd = [sys.executable, "setup.py", "build"]
Expand Down