Author dalloliogm
Recipients dalloliogm
Date 2009-01-09.16:18:59
SpamBayes Score 0.0365931
Marked as misclassified No
Message-id <1231517940.49.0.224416428352.issue4899@psf.upfronthosting.co.za>
In-reply-to
Content
The doctest module should have support for fixtures (e.g. setUp and
tearDown methods).

It is very silly to be forced to always re-import all the modules needed
in every function tested with doctest.
For example, when you have to document functions that open files, you
have to import StringIO or TempFile, and then create a file, while this
could be done easily with a fixture.
History
Date User Action Args
2009-01-09 16:19:00dalloliogmsetrecipients: + dalloliogm
2009-01-09 16:19:00dalloliogmsetmessageid: <1231517940.49.0.224416428352.issue4899@psf.upfronthosting.co.za>
2009-01-09 16:18:59dalloliogmlinkissue4899 messages
2009-01-09 16:18:59dalloliogmcreate