Debugging Python

Peter Hansen peter at engcorp.com
Tue Jan 13 10:48:01 EST 2004


Frithiof Andreas Jensen wrote:
> 
> "Peter Hansen" <peter at engcorp.com> wrote in message
> news:4002AE9B.C51448FB at engcorp.com...
> 
> > ...., as it takes me only about twenty seconds to start a
> > new test file and that's *without* using a template.
> 
> ....in twenty seconds you can just about write "import unittest" ;-)

You don't know how fast I type.  ;-)

import unittest

class TestCase(unittest.TestCase):
    def test01(self):
        pass
        
if __name__ == '__main__':
    unittest.main()


== 23 seconds... counting launching Scite!  <grin>

I agree with all your other points though.

-Peter



More information about the Python-list mailing list