[Biopython-dev] [Bug 2640] Proposal: doctest for SeqRecord/biopython

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Nov 6 19:00:59 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2640





------- Comment #8 from biopython-bugzilla at maubp.freeserve.co.uk  2008-11-06 14:00 EST -------
I've added a few doctests to SeqRecord.py in CVS revision 1.24, plus the simple
unit test from comment 7 to make sure these get validated as part of the
Biopython test suite.

How does that look to you Marco?  I've kept the __init__ example short, not
doing anything with annotations.

Do you think we should also have the __main__ trick in all modules with
doctests?


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list