Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pytest_mypy_plugins/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def extract_output_matchers_from_comments(fname: str, input_lines: List[str], re
The result is a list pf output matchers
"""
fname = fname.replace(".py", "")
fname = fname.removesuffix(".py")
matchers = []
for index, line in enumerate(input_lines):
# The first in the split things isn't a comment
Expand Down