Skip to content

Commit dda1b41

Browse files
committed
assert pybind11_tests.compiler_info is not None
1 parent b3c2184 commit dda1b41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,5 +203,8 @@ def pytest_configure():
203203
pybind11_tests.PYBIND11_INTERNALS_ID,
204204
flush=True,
205205
)
206+
assert (
207+
pybind11_tests.compiler_info is not None
208+
), "Please update pybind11_tests.cpp if this assert fails."
206209
pytest.suppress = suppress
207210
pytest.gc_collect = gc_collect

0 commit comments

Comments
 (0)