[Pytest-commit] Issue #256: Provide a way to reduce the diagnostic output (hpk42/tox)

Ned Batchelder issues-reply at bitbucket.org
Mon Jun 8 04:03:50 CEST 2015


New issue 256: Provide a way to reduce the diagnostic output
https://bitbucket.org/hpk42/tox/issue/256/provide-a-way-to-reduce-the-diagnostic

Ned Batchelder:

When I run my tests, tox prints a number of lines of information.  This is helpful when things are going wrong, but I don't need to see them on every test run.

```
$ tox -epy27-django14
py27-django14 develop-inst-noop: /Users/ned/coverage/django_coverage_plugin
py27-django14 installed: -f /Users/ned/Downloads/local_pypi,coverage==4.0a6,Django==1.4.20,-e git+git at github.com:nedbat/django_coverage_plugin.git at b337234512edc50f3962871bd03998da20d26446#egg=django_coverage_plugin-master,six==1.9.0,wheel==0.24.0
py27-django14 runtests: PYTHONHASHSEED='471377262'
py27-django14 runtests: commands[0] | /Users/ned/coverage/django_coverage_plugin/.tox/py27-django14/bin/python -c import tests.banner
CPython 2.7.6; Django 1.4.20
py27-django14 runtests: commands[1] | /Users/ned/coverage/django_coverage_plugin/.tox/py27-django14/bin/python -m unittest discover -b
...........................s.........
----------------------------------------------------------------------
Ran 37 tests in 0.301s

OK (skipped=1)
```

Here there are 11 lines of output.  Five are from tox, and I would like to suppress them.




More information about the pytest-commit mailing list