This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rbcollins
Recipients docs@python, ezio.melotti, michael.foord, rbcollins, redixin
Date 2015-08-21.01:41:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It did that because you did not specify a top level directory. Without that, the cwd is not on the path and that breaks many environments.

We should probably document it better. The workaround for your needs is to either just run 'unittest discover', or run 'unittest discover tests -t .', not 'unittest discover tests'.

The behaviour is however something I believe to be correct and essential to most user experiences.
Date User Action Args
2015-08-21 01:41:34rbcollinssetrecipients: + rbcollins, ezio.melotti, michael.foord, docs@python, redixin
2015-08-21 01:41:34rbcollinssetmessageid: <>
2015-08-21 01:41:33rbcollinslinkissue24247 messages
2015-08-21 01:41:33rbcollinscreate