File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 99 completion. Contributed by :bbuser: `davidszotten `.
1010 - Fix an issue with listing project templates if none are
1111 installed. (:bbissue: `179 `)
12+ - Fix an issue with the ``--python `` option to ``mkvirtualenv ``
13+ becoming *sticky * for future calls that do not explicitly specify
14+ the option. (:bbissue: `178 `)
1215
13163.7
1417
Original file line number Diff line number Diff line change @@ -166,5 +166,13 @@ test_virtualenv_fails () {
166166 VIRTUALENVWRAPPER_VIRTUALENV=virtualenv
167167}
168168
169+ test_mkvirtualenv_python_not_sticky () {
170+ typeset _save=$VIRTUALENVWRAPPER_VIRTUALENV
171+ VIRTUALENVWRAPPER_VIRTUALENV=true
172+ mkvirtualenv --python blah foo
173+ assertSame " " " $interpreter "
174+ VIRTUALENVWRAPPER_VIRTUALENV=$_save
175+ }
176+
169177
170178. " $test_dir /shunit2"
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ function mkvirtualenv {
374374 typeset envname
375375 typeset requirements
376376 typeset packages
377+ typeset interpreter
377378
378379 in_args=( " $@ " )
379380
You can’t perform that action at this time.
0 commit comments