[med-svn] [python-ruffus] 01/01: Try to fix issue in test suite when using Python 3.5 ... but failed.
Andreas Tille
tille at debian.org
Fri Jan 15 09:11:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-ruffus.
commit 6f3c71a4ac315d5108508ba5a3ed00cb06cb5bdf
Author: Andreas Tille <tille at debian.org>
Date: Fri Jan 15 10:11:12 2016 +0100
Try to fix issue in test suite when using Python 3.5 ... but failed.
---
debian/changelog | 6 ++++++
debian/patches/python-3.5.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 674206a..f7f4f1e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-ruffus (2.6.3+dfsg-2) UNRELEASED; urgency=medium
+
+ * Fix issue in test when using Python 3.5
+
+ -- Andreas Tille <tille at debian.org> Fri, 15 Jan 2016 10:08:16 +0100
+
python-ruffus (2.6.3+dfsg-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/patches/python-3.5.patch b/debian/patches/python-3.5.patch
new file mode 100644
index 0000000..822da4d
--- /dev/null
+++ b/debian/patches/python-3.5.patch
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 15 Jan 2016 10:08:16 +0100
+Bug-Debian: https://bugs.debian.org/811002
+Description: Fix issue in test suite when using Python 3.5
+ See https://lists.debian.org/debian-python/2016/01/msg00060.html
+
+--- a/ruffus/test/test_ruffus_utility.py
++++ b/ruffus/test/test_ruffus_utility.py
+@@ -259,7 +259,7 @@ class Test_compile_regex (unittest.TestC
+ try:
+ compile_regex("Dummy Task", regex(".*)"), Exception, "test1")
+ except Exception as e:
+- self.assertEqual(e.args, ('Dummy Task', "test1: regular expression regex('.*)') is malformed\n[sre_constants.error: (unbalanced parenthesis)]"))
++ self.assertEqual(e.args, ('Dummy Task', "test1: regular expression regex('.*)') is malformed\n[sre_constants.error: (unbalanced parenthesis at position 2)]"))
+
+ # bad number of items regex
+ self.assertRaises(Exception, compile_regex, "Dummy Task", regex(".*", "o"), Exception, "test1")
diff --git a/debian/patches/series b/debian/patches/series
index 566b050..ca43be3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_test.patch
+python-3.5.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-ruffus.git
More information about the debian-med-commit
mailing list