Permalink
Browse files

Fix Windows detection in doctest exclusion hack

  • Loading branch information...
peterjc committed Dec 5, 2012
1 parent bb97e8b commit fc24967b89eda56675e67824a4a57a6059650636
Showing with 1 addition and 2 deletions.
  1. +1 −2 Tests/run_tests.py
View
@@ -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")

0 comments on commit fc24967

Please sign in to comment.