[med-svn] [python-pysam] 01/01: Patch applied upstream
Andreas Tille
tille at debian.org
Tue Aug 29 21:04:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-pysam.
commit 1c15d8eee67fce6d28033b912b516a16f18a466f
Author: Andreas Tille <tille at debian.org>
Date: Tue Aug 29 22:56:15 2017 +0200
Patch applied upstream
---
debian/patches/no-usage-test-without-tty.patch | 19 -------------------
debian/patches/series | 1 -
2 files changed, 20 deletions(-)
diff --git a/debian/patches/no-usage-test-without-tty.patch b/debian/patches/no-usage-test-without-tty.patch
deleted file mode 100644
index 1f95b29..0000000
--- a/debian/patches/no-usage-test-without-tty.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Description: skip usage() tests on autobuilders
- The usage() functions check whether stdin is a tty before displaying usage
- information. Therefore, we should not test this code when running on an
- autobuilder without a tty.
- .
- Clever allocation of a pty from within the test suite itself for purposes
- of testing this path is left as an exercise for the reader.
-Author: Steve Langasek <steve.langasek at canonical.com>
-
---- a/tests/samtools_test.py
-+++ b/tests/samtools_test.py
-@@ -245,6 +245,7 @@ class SamtoolsTest(unittest.TestCase):
- self.check_statement(statement)
-
- @unittest.skipIf(sys.platform == "darwin", "not supported, pattern does not match")
-+ @unittest.skipIf(not sys.stdin.isatty(), "skipping usage tests, stdin is not a tty")
- def testUsage(self):
- if self.executable == "bcftools":
- # bcftools usage messages end with exit(1)
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 27db99f..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-no-usage-test-without-tty.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pysam.git
More information about the debian-med-commit
mailing list