Skip to content

Commit

Permalink
Test env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MHendricks committed Sep 4, 2024
1 parent 8f5c2ea commit ee363c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_env_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def wrapper(*args, **kwargs):
def test_expand_path():
# Generate a short name path. This method needs a file that actually
# exists on disk, and test_env_var.py is long enough to get ~'ed
from pprint import pprint

pprint(dict(os.environ))
short_name = win32api.GetShortPathName(__file__)
assert '~' in short_name

Expand Down

0 comments on commit ee363c5

Please sign in to comment.