Merge branch 'pybind:master' into master

This commit is contained in:
Steve R. Sun 2023-01-15 09:40:57 +08:00 committed by GitHub
commit 86d96b6fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,17 @@ import multiprocessing
import os
import re
import textwrap
import traceback
import pytest
# Early diagnostic for failed imports
import pybind11_tests
try:
import pybind11_tests
except Exception:
# pytest does not show the traceback without this.
traceback.print_exc()
raise
@pytest.fixture(scope="session", autouse=True)