Skip to content

Commit 33ea86a

Browse files
committed
fix: parameter name
1 parent b400040 commit 33ea86a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stubs/behave/behave/step_registry.pyi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
from collections.abc import Callable
22
from typing import Any, Concatenate, TypeVar
33

4-
from behave.runner import Context as Context
4+
from behave.runner import Context
55

66
_F = TypeVar("_F", bound=Callable[Concatenate[Context, ...], None])
77

8-
def given(pattern: str, **kwargs: Any) -> Callable[[_F], _F]: ...
9-
def when(pattern: str, **kwargs: Any) -> Callable[[_F], _F]: ...
10-
def then(pattern: str, **kwargs: Any) -> Callable[[_F], _F]: ...
11-
def step(pattern: str, **kwargs: Any) -> Callable[[_F], _F]: ...
8+
def given(step_text: str, **kwargs: Any) -> Callable[[_F], _F]: ...
9+
def when(step_text: str, **kwargs: Any) -> Callable[[_F], _F]: ...
10+
def then(step_text: str, **kwargs: Any) -> Callable[[_F], _F]: ...
11+
def step(step_text: str, **kwargs: Any) -> Callable[[_F], _F]: ...
1212

1313
# Title-case aliases
1414
Given = given

0 commit comments

Comments
 (0)