Commit e22d8659 authored by Andreas Tille's avatar Andreas Tille
Browse files

exclude docstring tests - thanks to Peter Cock

parent bb94263d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ From 5af680b5043c9f160a19e4bb0deab0ccc271280d Mon Sep 17 00:00:00 2001
From: Peter Cock <p.j.a.cock@googlemail.com>
Date: Tue, 19 Nov 2019 09:59:16 +0000
Subject: [PATCH] Ignore C modules with no docstrings
   Does not work as expected

---
 Tests/run_tests.py | 9 +++++++++
+20 −0
Original line number Diff line number Diff line
From: Peter Cock <p.j.a.cock@googlemail.com>
Last-Update: Tue, 19 Nov 2019 10:03:25 +0000
Bug-Debian: https://bugs.debian.org/944242
Description: Test issues with BioPython 1.75

--- a/Tests/run_tests.py
+++ b/Tests/run_tests.py
@@ -148,9 +148,9 @@ except ImportError:
 
 # Skip Bio.Seq doctest under Python 2, see http://bugs.python.org/issue7490
 # Can't easily write exceptions with consistent class name in python 2 and 3
-if sys.version_info[0] == 2:
-    EXCLUDE_DOCTEST_MODULES.append("Bio.Seq")
-    EXCLUDE_DOCTEST_MODULES.append("Bio.Phylo")
+#if sys.version_info[0] == 2:
+#    EXCLUDE_DOCTEST_MODULES.append("Bio.Seq")
+#    EXCLUDE_DOCTEST_MODULES.append("Bio.Phylo")
 
 
 def find_modules(path):
+2 −1
Original line number Diff line number Diff line
@@ -2,4 +2,5 @@ remove_mathml-qname.patch
privacy_breach.patch
reportlab3.5.patch
python_3.8_iteration_fix.patch
5af680b5043c9f160a19e4bb0deab0ccc271280d.patch
# 5af680b5043c9f160a19e4bb0deab0ccc271280d.patch
exclude_docstring_tests.patch