[h5py] 07/09: Add patch disabling broken tests acknowledged upstream.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Feb 2 16:39:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository h5py.

commit 1268223b510ee27eb7793806e5e03135955a838d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Feb 2 16:23:00 2016 +0000

    Add patch disabling broken tests acknowledged upstream.
    
    Gbp-Dch: Short
    Closes: #797476
    Thanks: Gilles Filippini
---
 debian/patches/Disable-broken-tests.patch | 21 +++++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/Disable-broken-tests.patch b/debian/patches/Disable-broken-tests.patch
new file mode 100644
index 0000000..08edc4c
--- /dev/null
+++ b/debian/patches/Disable-broken-tests.patch
@@ -0,0 +1,21 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Tue, 2 Feb 2016 16:22:31 +0000
+Subject: Disable broken tests.
+
+---
+ h5py/tests/old/test_file.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/h5py/tests/old/test_file.py b/h5py/tests/old/test_file.py
+index ff9d19c..39f0ef7 100644
+--- a/h5py/tests/old/test_file.py
++++ b/h5py/tests/old/test_file.py
+@@ -45,7 +45,7 @@ class TestFileOpen(TestCase):
+         try:
+             with File(fname) as f:
+                 self.assertTrue(f)
+-                self.assertEqual(f.mode, 'r')
++                #self.assertEqual(f.mode, 'r')
+         finally:
+             os.chmod(fname, stat.S_IWRITE)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 9233bdb..f0fb0c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Disable-usage-of-rpath.patch
+Disable-broken-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list