mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Try to fix cross test pollution of Pipfile.
This commit is contained in:
@@ -343,6 +343,10 @@ class _PipenvInstance:
|
||||
|
||||
if pipfile:
|
||||
p_path = os.sep.join([self.path, 'Pipfile'])
|
||||
try:
|
||||
os.remove(p_path)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
with open(p_path, 'a'):
|
||||
os.utime(p_path, None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user