[med-svn] [python-treetime] 02/02: Fix test
Andreas Tille
tille at debian.org
Thu Jun 15 12:53:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-treetime.
commit 54f42a3e41af74f30ba5085a9cd552c73dc175f1
Author: Andreas Tille <tille at debian.org>
Date: Thu Jun 15 14:48:44 2017 +0200
Fix test
---
debian/patches/fix_test.patch | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/patches/fix_test.patch b/debian/patches/fix_test.patch
index 7937489..e2dc312 100644
--- a/debian/patches/fix_test.patch
+++ b/debian/patches/fix_test.patch
@@ -24,12 +24,15 @@ Description: No idea how this test is run - but at least fix syntax issues
--- a/test/tree_time_test.py
+++ b/test/tree_time_test.py
-@@ -5,7 +5,7 @@ Test time tree class
+@@ -5,9 +5,9 @@ Test time tree class
import unittest,os,sys
from Bio import AlignIO
-from ..treetime import treeanc
+from treetime import treeanc
- resources_dir = os.path.join(path.dirname(__file__), '../data/')
+-resources_dir = os.path.join(path.dirname(__file__), '../data/')
++resources_dir = os.path.join(os.path.dirname(__file__), '../data/')
+ class TestTreeAnc(unittest.TestCase):
+ def test_read_newick(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-treetime.git
More information about the debian-med-commit
mailing list