[Pytest-commit] Issue #602: xdist does not report warnings (hpk42/pytest)

Andreas Pelme issues-reply at bitbucket.org
Tue Sep 30 09:10:31 CEST 2014


New issue 602: xdist does not report warnings
https://bitbucket.org/hpk42/pytest/issue/602/xdist-does-not-report-warnings

Andreas Pelme:

Warnings raised with `request.node.warn` does not show warnings. `-rw` does not give any warning output either.

Here is the same test run without and with xdist:


```
$ py.test unit_tests/
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 ...........................................................................................................................................................................................
2166 passed, 78 warnings in 46.73 seconds
```

```
$ py.test unit_tests/ -n1
gw0 [2166]
scheduling tests via LoadScheduling
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 ...........................................................................................................................................................................................
2166 passed in 48.02 seconds
```




More information about the pytest-commit mailing list