Update __init__.py
This commit is contained in:
parent
aedd9879eb
commit
1d04a4234b
|
@ -92,10 +92,12 @@ Ideally this type would be provided by pluggy itself.
|
|||
hookimpl = HookimplMarker("pytest")
|
||||
hookspec = HookspecMarker("pytest")
|
||||
|
||||
|
||||
@final # I added
|
||||
class UsageError(Exception):
|
||||
"""Error in pytest usage or invocation."""
|
||||
|
||||
|
||||
@final
|
||||
class ExitCode(enum.IntEnum):
|
||||
"""Encodes the valid exit codes by pytest.
|
||||
|
@ -2007,9 +2009,6 @@ def apply_warning_filters(
|
|||
warnings.filterwarnings(*parse_warning_filter(arg, escape=True))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
branchCoverage = [0, 0, 0, 0]
|
||||
|
||||
# Cover branches 1,3
|
||||
|
|
Loading…
Reference in New Issue