From: Debian Med Packaging Team Date: Mon, 19 Feb 2018 10:11:17 +0000 (+0000) Subject: skip_test_needing_missing_data X-Git-Tag: archive/raspbian/0.14+ds-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c6115e394f642cf904a38e81bf1bf6c1dbc194c6;p=python-pysam.git skip_test_needing_missing_data Gbp-Pq: Name skip_test_needing_missing_data.patch --- diff --git a/tests/AlignmentFile_test.py b/tests/AlignmentFile_test.py index a684fb8..e2f210a 100644 --- a/tests/AlignmentFile_test.py +++ b/tests/AlignmentFile_test.py @@ -1361,12 +1361,7 @@ 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 TestHeaderWithProgramOptions(unittest.TestCase): '''see issue 39.''' diff --git a/tests/pysam_data/Makefile b/tests/pysam_data/Makefile index b48a27c..5550152 100644 --- a/tests/pysam_data/Makefile +++ b/tests/pysam_data/Makefile @@ -20,8 +20,7 @@ all: ex1.pileup.gz \ explicit_index.bam explicit_index.cram \ faidx_empty_seq.fq.gz \ ex1.fa.gz ex1.fa.gz.csi \ - ex1_csi.bam \ - example_reverse_complement.bam + ex1_csi.bam # ex2.sam - as ex1.sam, but with header ex2.sam.gz: ex1.bam ex1.bam.bai