Skip to content

Commit

Permalink
check dataframe
Browse files Browse the repository at this point in the history
MarcoGorelli committed Apr 6, 2024

Verified

This commit was signed with the committer’s verified signature.
Brooooooklyn LongYinan
1 parent 18d56db commit dd5795e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/utils.py
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ def remove_prefix(text: str, prefix: str) -> str:
return text # pragma: no cover


def remove_suffix(text: str, suffix: str) -> str:
def remove_suffix(text: str, suffix: str) -> str: # pragma: no cover
if text.endswith(suffix):
return text[: -len(suffix)]
return text # pragma: no cover

0 comments on commit dd5795e

Please sign in to comment.