From: Charles Plessy Date: Sat, 19 Apr 2014 05:14:53 +0000 (+0900) Subject: Correct an error in the upstream test suite. X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~383 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3cd5ab8f1ca6f6afe4687ad53edfe421cf6675e9;p=python-pysam.git Correct an error in the upstream test suite. This is already corrected upstrem. --- diff --git a/debian/patches/offline-tests.patch b/debian/patches/offline-tests.patch index 968b5ba..022dd10 100644 --- a/debian/patches/offline-tests.patch +++ b/debian/patches/offline-tests.patch @@ -1164,7 +1164,7 @@ Description: Create a copy of the test suite script and remove those + + def testFetchErrors( self ): + self.assertRaises( ValueError, self.file.fetch ) -+ self.assertRaises( ValueError, self.file.fetch, "chr1", -1, 10 ) ++ self.assertRaises( IndexError, self.file.fetch, "chr1", -1, 10 ) + self.assertRaises( ValueError, self.file.fetch, "chr1", 20, 10 ) + + def testLength( self ):