variable assingment order inconsistency when using file| in set_env #3335
Labels
bug:minor
does not affect many people or has no big impact
help:wanted
Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
When not using
file|
inset_env
, the variables are assigned in order (with the last value replacing any previous one, as inFOO
being overwriten withQUX
in myexample1
).However, this behaviour is not consistent when using
file|
, when assingment of variables fromfile
always take precedence (seeexample2
, whereFOO
gets the valueBAR
from.env
, and is not overwriten by subsequent assignment ofQUX
).Expected:
file|
file|
.tox.ini:
.env:
Output:
The text was updated successfully, but these errors were encountered: