New issue 574: getcfg's parsing of command line arguments
https://bitbucket.org/hpk42/pytest/issue/574/getcfgs-parsing-of-command-line-arguments

Andreas Pelme:


https://bitbucket.org/hpk42/pytest/src/aed87f841a762133588d09f17f2ceb050d726569/_pytest/config.py?at=default#cl-846

getcfg looks at all test directorys (or cwd) and strips command line arguments 
by removing any arguments that starts with '-'.

This leads to that for instance
```
py.test -m foo
```

actually scans for foo/pytest.ini, foo/tox.ini, etc which is not really 
expected/desired


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

Reply via email to