Skip to content

Commit

Permalink
Tweaking the numpy import (Bug 2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterc committed Nov 19, 2008
1 parent a79fc99 commit 1519f5c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/test_kNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

#TODO - Remove this work around once we drop python 2.3 support
try:
set = set
set
except NameError:
from sets import Set as set

#TODO - Don't use "from XXX import *"
try :
from numpy import *
import numpy
except ImportError :
from Bio import MissingExternalDependencyError
raise MissingExternalDependencyError(\
Expand Down

0 comments on commit 1519f5c

Please sign in to comment.