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 ashkop
Recipients Claudiu.Popa, Florian.Apolloner, ashkop, eric.snow, ezio.melotti, michael.foord, rbcollins
Date 2015-04-20.07:12:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429513970.67.0.103484502481.issue23882@psf.upfronthosting.co.za>
In-reply-to
Content
This script creates following directory structure

issue_23882\
  tests\
    test_fail.py

If you run from issue_23882 directory

python -m unittest

it doesn't find any tests. If there is __init__.py inside tests folder, same command finds test_fail.py and runs it.

I'm not sure yet about using pkgutil cause looks like iter_modules and walk_packages do not find namespace packages as well.
History
Date User Action Args
2015-04-20 07:12:50ashkopsetrecipients: + ashkop, rbcollins, ezio.melotti, michael.foord, Claudiu.Popa, eric.snow, Florian.Apolloner
2015-04-20 07:12:50ashkopsetmessageid: <1429513970.67.0.103484502481.issue23882@psf.upfronthosting.co.za>
2015-04-20 07:12:50ashkoplinkissue23882 messages
2015-04-20 07:12:50ashkopcreate