Skip to content

Commit

Permalink
Merge pull request #750 from msarahan/patch-1
Browse files Browse the repository at this point in the history
conda: add .yml suffix to temp env file
  • Loading branch information
pv committed Oct 3, 2018
2 parents e336c9e + 4a3f21e commit 5f9be29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asv/plugins/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _setup(self):

# create a temporary environment.yml file
# and use that to generate the env for benchmarking
env_file = tempfile.NamedTemporaryFile(mode='w', delete=False)
env_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix=".yml")
try:
env_file.write('name: {0}\n'
'channels:\n'.format(self.name))
Expand Down

0 comments on commit 5f9be29

Please sign in to comment.