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 nnorwitz
Recipients
Date 2007-04-24.03:37:26
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Thanks for updating the patch, I'll try to take a look at it soon (within a week or so).  If anyone else wants to take a look at this, feel free.

> Why doesn't regrtest give an error if it doesn't run tests?

regrtest can't know the difference between an old style test which executes on import and a new style test which has a test_main.  This is why I want to get rid of all the old style tests (the ones that execute by side-effect of import).  Then we can have regrtest complain if there is no test_main method just as you suggest.
History
Date User Action Args
2007-08-23 15:58:05adminlinkissue1703379 messages
2007-08-23 15:58:05admincreate