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):
43
43
44
44
# For debugging in IDE's don't catch raised exceptions and let the IDE
45
45
# break at it
46
- if os .getenv ("_PYTEST_RAISE" , "0" ) != "0" :
46
+ if os .getenv ("_PYTEST_RAISE" , "0" ) != "0" : # pragma: no cover
47
47
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
51
51
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
55
55
56
56
57
57
# Example VSCode launch configuration for debugging unittests
You can’t perform that action at this time.
0 commit comments