We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import pybind11_tests
1 parent d821788 commit e53d58aCopy full SHA for e53d58a
1 file changed
tests/conftest.py
@@ -11,11 +11,17 @@
11
import os
12
import re
13
import textwrap
14
+import traceback
15
16
import pytest
17
18
# Early diagnostic for failed imports
-import pybind11_tests
19
+try:
20
+ import pybind11_tests
21
+except Exception:
22
+ # pytest does not show the traceback without this.
23
+ traceback.print_exc()
24
+ raise
25
26
27
@pytest.fixture(scope="session", autouse=True)
0 commit comments