Skip to content

Commit

Permalink
Reformatted per pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Feb 21, 2024
1 parent 32522b9 commit 2fcdb4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ def get_mount() -> str:
mount_location = os.path.join(os.path.curdir, "testmount")
assert os.path.exists(mount_location)
assert os.path.isdir(mount_location)
return mount_location if platform.system() == "Windows" else os.path.realpath(mount_location)
return (
mount_location
if platform.system() == "Windows"
else os.path.realpath(mount_location)
)


def get_mount_node(path: str, must_exist: bool = False) -> str:
Expand Down

0 comments on commit 2fcdb4a

Please sign in to comment.