Skip to content
Snippets Groups Projects
Commit ca365c13 authored by Florian Bruhin's avatar Florian Bruhin
Browse files

Use PurePosixPath

parent 2a0ae490
Branches
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ OUTCOME_COLORS = {
def shorten_nodeid(nodeid: str) -> str:
path, *rest = nodeid.split("::")
filename = pathlib.PosixPath(path).name
filename = pathlib.PurePosixPath(path).name
return "::".join([filename, *rest])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment