Message241619
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. |
|
Date |
User |
Action |
Args |
2015-04-20 07:12:50 | ashkop | set | recipients:
+ ashkop, rbcollins, ezio.melotti, michael.foord, Claudiu.Popa, eric.snow, Florian.Apolloner |
2015-04-20 07:12:50 | ashkop | set | messageid: <1429513970.67.0.103484502481.issue23882@psf.upfronthosting.co.za> |
2015-04-20 07:12:50 | ashkop | link | issue23882 messages |
2015-04-20 07:12:50 | ashkop | create | |
|