From d8280df5d5ee328985ec1b12bcdcc1c2dd159d36 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 22 Jun 2022 18:52:56 -0700 Subject: [PATCH] assert pybind11_tests.compiler_info is not None --- tests/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 647f7d2bd..d64899734 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -203,5 +203,8 @@ def pytest_configure(): pybind11_tests.PYBIND11_INTERNALS_ID, flush=True, ) + assert ( + pybind11_tests.compiler_info is not None + ), "Please update pybind11_tests.cpp if this assert fails." pytest.suppress = suppress pytest.gc_collect = gc_collect