// We can only test C++ if weave is availabe
try:
import scipy.weave
languages = [PythonLanguage(), CPPLanguage()]
except ImportError:
// Can"t test C++
languages = [PythonLanguage()]
After Change
// We can only test C++ if weave is availabe
try:
import scipy.weave
languages = ["numpy", "weave"]
except ImportError:
// Can"t test C++
languages = ["numpy"]