X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Fpipelines%2Ftest%2Ftest_eland.py;h=f6851883952332ab4005e06b6713bb011dc928ef;hp=57ad62cfc2cd309f05c14cc12e23b1ee12727ab5;hb=d078bd2653d1d702d54a0ff12f91ef2bd85d8d0e;hpb=e3d98b912474142affa7a76ca4c2d763f186b9ba diff --git a/htsworkflow/pipelines/test/test_eland.py b/htsworkflow/pipelines/test/test_eland.py index 57ad62c..f685188 100644 --- a/htsworkflow/pipelines/test/test_eland.py +++ b/htsworkflow/pipelines/test/test_eland.py @@ -2,7 +2,7 @@ """More direct synthetic test cases for the eland output file processing """ from StringIO import StringIO -from unittest2 import TestCase +from unittest import TestCase from htsworkflow.pipelines.eland import ELAND, ElandLane, ElandMatches, \ SampleKey, MatchCodes, MappedReads @@ -276,7 +276,7 @@ class TestElandMatches(TestCase): self.assertEqual(len(em[key11112]), 2) def suite(): - from unittest2 import TestSuite, defaultTestLoader + from unittest import TestSuite, defaultTestLoader suite = TestSuite() suite.addTests(defaultTestLoader.loadTestsFromTestCase(MatchCodeTests)) suite.addTests(defaultTestLoader.loadTestsFromTestCase(TestMappedReads)) @@ -286,5 +286,5 @@ def suite(): if __name__ == "__main__": - from unittest2 import main + from unittest import main main(defaultTest="suite")