nosetests is capturing the output of my print statements. How to circumvent this? nosetests is capturing the output of my print statements. How to circumvent this? python python

nosetests is capturing the output of my print statements. How to circumvent this?


Either:

$ nosetests --nocapture mytest.py

Or:

$ NOSE_NOCAPTURE=1 nosetests mytests.py

(it can also be specified in the nose.cfg file, see nosetests --help)


Use

--nologcapture 

it worked for me


This was added recently to nose instead of --nocapture do this:

nosetests -s