[Biopython-dev] [Bug 2820] Convert test_PDB.py to unittest

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed May 6 18:54:06 EDT 2009


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





------- Comment #10 from eric.talevich at gmail.com  2009-05-06 18:54 EST -------
Created an attachment (id=1294)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=1294&action=view)
test_PDB_unit.py, with conditional import

This is a modified test_PDB_unit.py that checks whether the necessary context
manager is available (it will be for Py2.6+), and if so, imports the additional
unit test from _PDB_extra.py into the current class.

(Sorry it's a whole file, I was having trouble diffing between git branches.)


-- 
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