File tree 2 files changed +0
-8
lines changed
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,6 @@ class CovReportWarning(PytestCovWarning):
27
27
"""
28
28
29
29
30
- class CovFailUnderWarning (PytestCovWarning ):
31
- """
32
- Indicates that we failed to generate a report.
33
- """
34
-
35
-
36
30
class CentralCovContextWarning (PytestCovWarning ):
37
31
"""
38
32
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 12
12
from coverage .results import should_fail_under
13
13
14
14
from . import CovDisabledWarning
15
- from . import CovFailUnderWarning
16
15
from . import CovReportWarning
17
16
from . import compat
18
17
from . import embed
@@ -352,7 +351,6 @@ def pytest_runtestloop(self, session):
352
351
p = cov_precision ,
353
352
)
354
353
session .config .pluginmanager .getplugin ('terminalreporter' ).write (f'\n ERROR: { message } \n ' , red = True , bold = True )
355
- warnings .warn (CovFailUnderWarning (message ), stacklevel = 1 )
356
354
# make sure we get the EXIT_TESTSFAILED exit code
357
355
compat_session .testsfailed += 1
358
356
You can’t perform that action at this time.
0 commit comments