assert pybind11_tests.compiler_info is not None

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-06-22 18:52:56 -07:00
parent 491c2c7983
commit d8280df5d5

View File

@ -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