Skip to content

Commit fee0eb9

Browse files
committed
Remove default to None
1 parent 93a11ae commit fee0eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_bdd/gherkin_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def _to_raw_string(normal_string: str) -> str:
309309
return normal_string.replace("\\", "\\\\")
310310

311311

312-
def get_gherkin_document(abs_filename: str = None, encoding: str = "utf-8") -> GherkinDocument:
312+
def get_gherkin_document(abs_filename: str, encoding: str = "utf-8") -> GherkinDocument:
313313
with open(abs_filename, encoding=encoding) as f:
314314
feature_file_text = f.read()
315315

0 commit comments

Comments
 (0)