Message226010
| Author |
rhettinger |
| Recipients |
endolith, jedie, rhettinger, tarek |
| Date |
2014年08月28日.04:44:36 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1409201076.63.0.3792667113.issue3332@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> doctest should be changed (or have an option) to understand
> object equality rather than exact text output.
Sorry, but that would be at odds with the fundamental design of doctest which is principally designed to test documentation in the form of docstrings (which, it goes without saying actually *are* strings).
Try using another tool for the job. The unittest module is well suited for tests that need to understand object equality. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年08月28日 04:44:36 | rhettinger | set | recipients:
+ rhettinger, jedie, tarek, endolith |
| 2014年08月28日 04:44:36 | rhettinger | set | messageid: <1409201076.63.0.3792667113.issue3332@psf.upfronthosting.co.za> |
| 2014年08月28日 04:44:36 | rhettinger | link | issue3332 messages |
| 2014年08月28日 04:44:36 | rhettinger | create |
|