skip_test_remote.patch: unfuzz.
authorÉtienne Mollier <emollier@debian.org>
Sun, 12 May 2024 12:35:00 +0000 (14:35 +0200)
committerÉtienne Mollier <emollier@debian.org>
Sun, 12 May 2024 12:35:00 +0000 (14:35 +0200)
debian/patches/skip_test_remote.patch

index 7706aa8382f337e46d370e607f53208e13fa58ab..9e81cb6cef63c03f341d308a333a8e7f87f7758a 100644 (file)
@@ -5,7 +5,7 @@ Forwarded: not-needed
 
 --- python-pysam.orig/tests/AlignmentFile_test.py
 +++ python-pysam/tests/AlignmentFile_test.py
-@@ -504,17 +504,6 @@
+@@ -497,17 +497,6 @@
                         "tmp_ex2.sam",
                         "rb", "wh")
  
@@ -23,7 +23,7 @@ Forwarded: not-needed
      def testCRAM2BAM(self):
          # ignore header (md5 sum)
          self.checkEcho("ex2.cram",
-@@ -1640,6 +1629,7 @@
+@@ -1633,6 +1622,7 @@
      reference_filename = os.path.join(BAM_DATADIR, 'ex1.fa')
  
  
@@ -33,7 +33,7 @@ Forwarded: not-needed
      '''test remote access.
 --- python-pysam.orig/tests/tabix_test.py
 +++ python-pysam/tests/tabix_test.py
-@@ -1017,6 +1017,7 @@
+@@ -1013,6 +1013,7 @@
      globals()[n] = type(n, (TestVCFFromVariantFile,), dict(filename=vcf_file,))
  
  
@@ -41,7 +41,7 @@ Forwarded: not-needed
  class TestRemoteFileHTTP(unittest.TestCase):
  
      url = "http://genserv.anat.ox.ac.uk/downloads/pysam/test/example.gtf.gz"
-@@ -1056,25 +1057,28 @@
+@@ -1052,25 +1053,28 @@
          self.assertEqual(list(self.local_file.header), [])