[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
Wed Oct 8 13:25:23 EDT 2008


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





------- Comment #5 from biopython-bugzilla at maubp.freeserve.co.uk  2008-10-08 13:25 EST -------
(In reply to comment #4)
> 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. 

That sounds fine - but currently test_Wise, test_psw and test_Cluster DO have
some output, e.g.

test_Cluster
test_clusterdistance (test_Cluster.TestCluster) ... ok
test_distancematrix_kmedoids (test_Cluster.TestCluster) ... ok
test_kcluster (test_Cluster.TestCluster) ... ok
test_matrix_parse (test_Cluster.TestCluster) ... ok
test_median_mean (test_Cluster.TestCluster) ... ok
test_somcluster (test_Cluster.TestCluster) ... ok
test_treecluster (test_Cluster.TestCluster) ... ok

----------------------------------------------------------------------
Ran 7 tests in 0.015s

OK


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

I can see what you have in mind here, but if we can avoid a separate "helper
script" it would nicer (and reduce end user confusion).


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