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 9
9
completion. Contributed by :bbuser: `davidszotten `.
10
10
- Fix an issue with listing project templates if none are
11
11
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 `)
12
15
13
16
3.7
14
17
Original file line number Diff line number Diff line change @@ -166,5 +166,13 @@ test_virtualenv_fails () {
166
166
VIRTUALENVWRAPPER_VIRTUALENV=virtualenv
167
167
}
168
168
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
+
169
177
170
178
. " $test_dir /shunit2"
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ function mkvirtualenv {
374
374
typeset envname
375
375
typeset requirements
376
376
typeset packages
377
+ typeset interpreter
377
378
378
379
in_args=( " $@ " )
379
380
You can’t perform that action at this time.
0 commit comments