Message79477
| Author |
dalloliogm |
| Recipients |
dalloliogm |
| Date |
2009年01月09日.16:18:59 |
| SpamBayes Score |
0.03659306 |
| 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: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 |
|