Thanks, all. Good to know no one's been beheaded.
Yes to separating test and non-test code, but no if that will just turn one modest module into two modules, smaller still. Amen to 'practicality beats purity.' Do wish we had a good, thorough convention set. I wrote one for Java. It took a lot of work. ( file:/home/martin/mrwebsite/articles/code- conventions.html ) -- http://mail.python.org/mailman/listinfo/python-list