File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,6 @@ class CovReportWarning(PytestCovWarning):
2727 """
2828
2929
30- class CovFailUnderWarning (PytestCovWarning ):
31- """
32- Indicates that we failed to generate a report.
33- """
34-
35-
3630class CentralCovContextWarning (PytestCovWarning ):
3731 """
3832 Indicates that dynamic_context was set to test_function instead of using the builtin --cov-context.
Original file line number Diff line number Diff line change 1212from coverage .results import should_fail_under
1313
1414from . import CovDisabledWarning
15- from . import CovFailUnderWarning
1615from . import CovReportWarning
1716from . import compat
1817from . import embed
@@ -352,7 +351,6 @@ def pytest_runtestloop(self, session):
352351 p = cov_precision ,
353352 )
354353 session .config .pluginmanager .getplugin ('terminalreporter' ).write (f'\n ERROR: { message } \n ' , red = True , bold = True )
355- warnings .warn (CovFailUnderWarning (message ), stacklevel = 1 )
356354 # make sure we get the EXIT_TESTSFAILED exit code
357355 compat_session .testsfailed += 1
358356
You can’t perform that action at this time.
0 commit comments