pytester: raise_on_kwargs: ignore branch coverage
This commit is contained in:
parent
19035f4b55
commit
1da8ce65a6
|
@ -77,7 +77,7 @@ def pytest_configure(config):
|
|||
|
||||
def raise_on_kwargs(kwargs):
|
||||
__tracebackhide__ = True
|
||||
if kwargs:
|
||||
if kwargs: # pragma: no branch
|
||||
raise TypeError(
|
||||
"Unexpected keyword arguments: {}".format(", ".join(sorted(kwargs)))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue