Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
4f6183cf
Commit
4f6183cf
authored
Jan 14, 2023
by
Ralf W. Grosse-Kunstleve
Committed by
Henry Schreiner
Feb 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure `import pybind11_tests` traceback is shown. (#4455)
parent
f14bb03d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
tests/conftest.py
+7
-1
No files found.
tests/conftest.py
View file @
4f6183cf
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment