Skip to content
Merged
Changes from 1 commit
Commits
File filter

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
debug
  • Loading branch information
blink1073 committed May 20, 2024
commit f79414cacc855e787cf1998095e01a7c9dd28b53
8 changes: 8 additions & 0 deletions tools/fail_if_no_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
import pymongo # noqa: E402

if not pymongo.has_c() or not bson.has_c():
try:
pass
except Exception as e:
print(e)
try:
pass
except Exception as e:
print(e)
sys.exit("could not load C extensions")

if os.environ.get("ENSURE_UNIVERSAL2") == "1":
Expand Down