--- a/tests/pysam_data/Makefile
+++ b/tests/pysam_data/Makefile
-@@ -89,7 +89,7 @@ explicit_index.cram: ex1.cram
+@@ -100,7 +100,7 @@
cp ex1.cram $@
clean:
-- rm -fr *.bam *.bai *.fai *.pileup* *.cram \
-+ rm -fr *.bai *.fai *.pileup* *.cram \
- *~ calDepth *.dSYM pysam_*.sam \
- ex2.sam ex2.sam.gz ex1.sam \
+- rm -fr [a-z]*.bam *.bai *.csi *.fai *.gzi *.pileup* [a-z]*.cram *.crai \
++ rm -fr *.bai *.csi *.fai *.gzi *.pileup* [a-z]*.cram *.crai \
+ all.stamp *~ calDepth *.dSYM pysam_*.sam \
+ ex2.sam ex2.sam.gz ex1.sam ex1.fa.gz \
with_md.sam.gz \
--- a/tests/AlignmentFile_test.py
+++ b/tests/AlignmentFile_test.py
-@@ -499,17 +499,6 @@ class TestIO(unittest.TestCase):
+@@ -503,17 +503,6 @@
"tmp_ex2.sam",
"rb", "wh")
def testCRAM2BAM(self):
# ignore header (md5 sum)
self.checkEcho("ex2.cram",
-@@ -1616,6 +1605,7 @@ class TestDoubleFetchCRAMWithReference(T
+@@ -1638,6 +1627,7 @@
reference_filename = os.path.join(BAM_DATADIR, 'ex1.fa')
'''test remote access.
--- a/tests/tabix_test.py
+++ b/tests/tabix_test.py
-@@ -1014,6 +1014,7 @@ for vcf_file in vcf_files:
+@@ -1017,6 +1017,7 @@
globals()[n] = type(n, (TestVCFFromVariantFile,), dict(filename=vcf_file,))
class TestRemoteFileHTTP(unittest.TestCase):
url = "http://genserv.anat.ox.ac.uk/downloads/pysam/test/example.gtf.gz"
-@@ -1053,25 +1054,28 @@ class TestRemoteFileHTTP(unittest.TestCa
+@@ -1056,25 +1057,28 @@
self.assertEqual(list(self.local_file.header), [])