提交 ccc01a40 authored 作者: Frederic Bastien's avatar Frederic Bastien

fix test import

上级 03016d40
......@@ -11,7 +11,7 @@ import theano.tensor as T
# Skip test if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest
try:
import cuda_ndarray.cuda_ndarray as cuda_ndarray
import theano.sandbox.cuda as cuda_ndarray
except ImportError:
raise SkipTest('Optional package cuda_ndarray not available')
......
......@@ -8,7 +8,7 @@ import numpy
# Skip test if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest
try:
import cuda_ndarray
import theano.sandbox.cuda as cuda_ndarray
except ImportError:
raise SkipTest('Optional package cuda_ndarray not available')
......
......@@ -14,7 +14,7 @@ import numpy
# Skip test if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest
try:
import cuda_ndarray
import theano.sandbox.cuda as cuda_ndarray
except ImportError:
raise SkipTest('Optional package cuda_ndarray not available')
......
......@@ -8,7 +8,7 @@ import numpy
# Skip test if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest
try:
import cuda_ndarray
import theano.sandbox.cuda as cuda_ndarray
except ImportError:
raise SkipTest('Optional package cuda_ndarray not available')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论