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")
|
hookimpl = HookimplMarker("pytest")
|
||||||
hookspec = HookspecMarker("pytest")
|
hookspec = HookspecMarker("pytest")
|
||||||
|
|
||||||
|
|
||||||
@final # I added
|
@final # I added
|
||||||
class UsageError(Exception):
|
class UsageError(Exception):
|
||||||
"""Error in pytest usage or invocation."""
|
"""Error in pytest usage or invocation."""
|
||||||
|
|
||||||
|
|
||||||
@final
|
@final
|
||||||
class ExitCode(enum.IntEnum):
|
class ExitCode(enum.IntEnum):
|
||||||
"""Encodes the valid exit codes by pytest.
|
"""Encodes the valid exit codes by pytest.
|
||||||
|
@ -2007,9 +2009,6 @@ def apply_warning_filters(
|
||||||
warnings.filterwarnings(*parse_warning_filter(arg, escape=True))
|
warnings.filterwarnings(*parse_warning_filter(arg, escape=True))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
branchCoverage = [0, 0, 0, 0]
|
branchCoverage = [0, 0, 0, 0]
|
||||||
|
|
||||||
# Cover branches 1,3
|
# Cover branches 1,3
|
||||||
|
|
Loading…
Reference in New Issue