Skip to content

Commit

Permalink
Merge pull request #240 from jasongrout/windowsusername
Browse files Browse the repository at this point in the history
Fix windows test regression.
  • Loading branch information
Steven Silvester authored Sep 17, 2021
2 parents 8473b8a + c23b7da commit 0609690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_core/tests/test_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def fetch_win32_permissions(filename):

def check_user_only_permissions(fname):
# Windows has it's own permissions ACL patterns
username = os.environ["USERNAME"]
username = os.environ["USERNAME"].lower()
permissions = fetch_win32_permissions(fname)
print(permissions) # for easier debugging
assert username in permissions
Expand Down

0 comments on commit 0609690

Please sign in to comment.