File: fix_test_phyml_tool.patch

package info (click to toggle)
python-biopython 1.68%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,860 kB
  • ctags: 13,237
  • sloc: python: 160,306; xml: 93,216; ansic: 9,118; sql: 1,208; makefile: 155; sh: 63
file content (18 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@debian.org>
Bug-Debian: https://bugs.debian.org/799820
Forwarded: https://bugs.debian.org/799820#12
Last-Update: Wed, 23 Sep 2015 10:34:47 +0200
Description: Fix test_phyml_tool.py
 Remove ".txt" extention that should not be there

--- a/Tests/test_phyml_tool.py
+++ b/Tests/test_phyml_tool.py
@@ -52,7 +52,7 @@ class AppTests(unittest.TestCase):
             self.assertTrue(len(out) > 0)
             self.assertEqual(len(err), 0)
             # Check the output tree
-            tree = Phylo.read(EX_PHYLIP + '_phyml_tree.txt', 'newick')
+            tree = Phylo.read(EX_PHYLIP + '_phyml_tree', 'newick')
             self.assertEqual(tree.count_terminals(), 4)
         finally:
             # Clean up generated files