Skip to content

Commit

Permalink
Merge pull request #2169 from pypa/bugfix/2132-normalize-drive-shortpath
Browse files Browse the repository at this point in the history
Bugfix/2132 normalize drive shortpath
  • Loading branch information
techalchemy authored May 9, 2018
2 parents 71b166a + 55e4eb0 commit cc80d39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
from pipenv.vendor import six
from pipenv.vendor import toml

try:
from pathlib import Path
except ImportError:
from pipenv.vendor.pathlib2 import Path


if six.PY2:
class ResourceWarning(Warning):
Expand Down Expand Up @@ -45,7 +50,7 @@ def __init__(self, pypi=None, pipfile=True, chdir=False):
self.original_umask = os.umask(0o007)
self.original_dir = os.path.abspath(os.curdir)
self._path = TemporaryDirectory(suffix='-project', prefix='pipenv-')
self.path = self._path.name
self.path = str(Path(self._path.name).resolve())
# set file creation perms
self.pipfile_path = None
self.chdir = chdir
Expand Down

0 comments on commit cc80d39

Please sign in to comment.