Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PrerakPatelCS committed Nov 22, 2022
1 parent 56544c1 commit 598eea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_pytest/config/findpaths.py
Expand Up @@ -203,7 +203,7 @@ def determine_setup(
else:
cwd = Path.cwd()
rootdir = get_common_ancestor([cwd, ancestor])
is_fs_root = os.path.splitdrive(str(rootdir))[1] == "/"
is_fs_root = os.path.splitdrive(str(rootdir))[1] == os.sep
if is_fs_root:
rootdir = ancestor
if rootdir_cmd_arg:
Expand Down

0 comments on commit 598eea1

Please sign in to comment.