skip_test_needing_missing_data
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Wed, 20 Feb 2019 10:45:47 +0000 (10:45 +0000)
committerMichael R. Crusoe <michael.crusoe@gmail.com>
Wed, 20 Feb 2019 10:45:47 +0000 (10:45 +0000)
Gbp-Pq: Name skip_test_needing_missing_data.patch

tests/AlignmentFile_test.py

index 39abaf7701fe68c9e1f1d9ba0b22e2f784e64a7e..dcaac697e83f4986f4953a7eb8e9a53bde4ee1d6 100644 (file)
@@ -1402,11 +1402,6 @@ class TestEmptyHeader(unittest.TestCase):
                                              'example_empty_header.bam'))
         self.assertEqual(s.header.to_dict(), {'SQ': [{'LN': 1000, 'SN': 'chr1'}]})
 
-    def test_bam_without_seq_in_header(self):
-        s = pysam.AlignmentFile(os.path.join(BAM_DATADIR, "example_no_seq_in_header.bam"))
-        self.assertTrue("SQ" in s.header.to_dict())
-        self.assertTrue("@SQ" in str(s.header))
-
 
 class TestMismatchingHeader(unittest.TestCase):
     '''see issue 716.'''