Message79477
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. |
|
Date |
User |
Action |
Args |
2009-01-09 16:19:00 | dalloliogm | set | recipients:
+ dalloliogm |
2009-01-09 16:19:00 | dalloliogm | set | messageid: <1231517940.49.0.224416428352.issue4899@psf.upfronthosting.co.za> |
2009-01-09 16:18:59 | dalloliogm | link | issue4899 messages |
2009-01-09 16:18:59 | dalloliogm | create | |
|