[Biopython-dev] [Bug 2613] test_Wise and test_psw fail under Python 2.3

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Oct 7 23:17:50 UTC 2008


------- Comment #4 from mdehoon at ims.u-tokyo.ac.jp  2008-10-07 19:17 EST -------
(In reply to comment #3)
> So if there is an expected output file, then run_tests.py will continue to do
> the comparison as now.  However, if there is no output file it will instead
> just run the code - which presumably will throw an exception if something is
> wrong (even just an assert statement)?
A safer approach might be to check if the test generates any output, since
tests that use an output file now print the name of the test first. Another
approach is to do the output comparison inside of each test script that
produces output instead of in run_tests.py. Basically, this means that the
compare_output function in run_tests.py should be moved to a separate script,
which gets imported by each test script that wants to use compare_output.

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