Skip to content

Commit 1da8ce6

Browse files
committed
pytester: raise_on_kwargs: ignore branch coverage
1 parent 19035f4 commit 1da8ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/pytester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def pytest_configure(config):
7777

7878
def raise_on_kwargs(kwargs):
7979
__tracebackhide__ = True
80-
if kwargs:
80+
if kwargs: # pragma: no branch
8181
raise TypeError(
8282
"Unexpected keyword arguments: {}".format(", ".join(sorted(kwargs)))
8383
)

0 commit comments

Comments
 (0)