We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a11ae commit fee0eb9Copy full SHA for fee0eb9
src/pytest_bdd/gherkin_parser.py
@@ -309,7 +309,7 @@ def _to_raw_string(normal_string: str) -> str:
309
return normal_string.replace("\\", "\\\\")
310
311
312
-def get_gherkin_document(abs_filename: str = None, encoding: str = "utf-8") -> GherkinDocument:
+def get_gherkin_document(abs_filename: str, encoding: str = "utf-8") -> GherkinDocument:
313
with open(abs_filename, encoding=encoding) as f:
314
feature_file_text = f.read()
315
0 commit comments