Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Windows detection in doctest exclusion hack

  • Loading branch information...
commit fc24967b89eda56675e67824a4a57a6059650636 1 parent bb97e8b
@peterjc peterjc authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  Tests/run_tests.py
View
3  Tests/run_tests.py
@@ -133,8 +133,7 @@ def is_numpy():
#HACK: Since Python2.5 under Windows have slightly different str(float) output,
#we're removing doctests that may fail because of this
-if sys.version_info[0] == 2 and sys.version_info[1] == 5 and \
- sys.platform == 'nt':
+if sys.platform == "win32" and sys.version_info < (2,6):
DOCTEST_MODULES.remove("Bio.SearchIO._model.hit")
DOCTEST_MODULES.remove("Bio.SearchIO._model.hsp")
Please sign in to comment.
Something went wrong with that request. Please try again.