Skip to content

Commit

Permalink
Remove unused mypy annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ramosbugs committed Nov 7, 2022
1 parent 94215dc commit 6d29e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_unflakable/_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def node_path(session: Union[pytest.Item, pytest.Session]) -> PathCompat:

def relative_to(path: PathCompat, base: PathCompat) -> str:
if hasattr(path, 'relative_to'):
return str(path.relative_to(base)) # type: ignore
return str(path.relative_to(base))
else:
return str(path.relto(base)) # type: ignore

Expand Down

0 comments on commit 6d29e49

Please sign in to comment.