◐ Shell
clean mode source ↗

Message 178156 - Python tracker

I finally understood the issue. So this does not work:

    ./python -m unittest discover Lib/test/ 'test_dec*.py'

Neither does this:

    ./python -m unittest discover Lib/test/ 'test_multipro*.py'

And this fails, too (still hanging):

    ./python -m unittest discover Lib/test/ 'test_thread*.py'

I'm not sure why tests in the Python test suite should be discoverable.
If I read this ...

    http://www.voidspace.org.uk/python/weblog/arch_d7_2009_05_30.shtml

..., the feature is for projects that don't have a test collection machinery.