File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ def pytest_generate_tests(metafunc):
4343
4444# For debugging in IDE's don't catch raised exceptions and let the IDE
4545# break at it
46- if os .getenv ("_PYTEST_RAISE" , "0" ) != "0" :
46+ if os .getenv ("_PYTEST_RAISE" , "0" ) != "0" : # pragma: no cover
4747
48- @pytest .hookimpl (tryfirst = True )
49- def pytest_exception_interact (call ):
50- raise call .excinfo .value
48+ @pytest .hookimpl (tryfirst = True ) # pragma: no cover
49+ def pytest_exception_interact (call ): # pragma: no cover
50+ raise call .excinfo .value # pragma: no cover
5151
52- @pytest .hookimpl (tryfirst = True )
53- def pytest_internalerror (excinfo ):
54- raise excinfo .value
52+ @pytest .hookimpl (tryfirst = True ) # pragma: no cover
53+ def pytest_internalerror (excinfo ): # pragma: no cover
54+ raise excinfo .value # pragma: no cover
5555
5656
5757# Example VSCode launch configuration for debugging unittests
You can’t perform that action at this time.
0 commit comments