Skip to content

Commit e28ea98

Browse files
committed
Make mypy happy
1 parent e0713d6 commit e28ea98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytest_bdd/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def render_step_name(self, context: Mapping[str, Any]) -> str:
342342
"""
343343
return render_string(self.name, context)
344344

345-
def render_datatable(self, context: Mapping[str, Any]) -> datatable | None:
345+
def render_datatable(self, context: Mapping[str, Any]) -> DataTable | None:
346346
"""
347347
Render the datatable with the given context,
348348
but avoid replacing text inside angle brackets if context is missing.
@@ -351,7 +351,7 @@ def render_datatable(self, context: Mapping[str, Any]) -> datatable | None:
351351
context (Mapping[str, Any]): The context for rendering the datatable.
352352
353353
Returns:
354-
datatable: The rendered datatable with parameters replaced only if they exist in the context.
354+
datatable (DataTable): The rendered datatable with parameters replaced only if they exist in the context.
355355
"""
356356
if self.datatable:
357357
rendered_datatable = self.datatable

0 commit comments

Comments
 (0)