New issue 680: Cannot disable capturing with --dist=distmode
https://bitbucket.org/hpk42/pytest/issue/680/cannot-disable-capturing-with-dist

Lucas Cimon:

To reproduce this issue, create a file named **stupid\_test.py** with the 
following code :
```python
def test_unicode():
    print "*[PRINT TO STDOUT]*"
    assert True
```

Then run the following:
```
$ py.test -v --capture=no --tx='1*popen' --dist=no stupid_test.py
# -> standard output contains "*[PRINT TO STDOUT]*"
$ py.test -v --capture=no --tx='1*popen' --dist=load stupid_test.py
# -> standard output is captured
$ py.test -v --capture=no --tx='1*popen' --dist=each stupid_test.py
# -> standard output is captured
```

I'm using the following version:
```
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- /usr/bin/python
```


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

Reply via email to