New issue 240: Empty "{posargs:foo}" gets replaced by "."
https://bitbucket.org/hpk42/tox/issue/240/empty-posargs-foo-gets-replaced-by

Daniel Hahler:

Given the following tox.ini:

```
#!ini
[tox]
skipsdist = true
[testenv]
commands = echo {posargs:foo}
whitelist_externals = echo
```

Just using `tox` outputs `foo`, but when trying to pass no positional arguments 
`.` (a single dot) get passed:

```
  % tox -- ""
  python runtests: PYTHONHASHSEED='456438988'
  python runtests: commands[0] | echo .
  .
  _____________________________________ summary 
______________________________________
    python: commands succeeded
    congratulations :)
```



_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to