提交 2ec3e1c1 authored 作者: Frederic Bastien's avatar Frederic Bastien

Don't create test failure.

上级 74b92314
raise RuntimeError( from nose.plugins.skip import SkipTest
raise SkipTest(
"You are importing theano.sandbox.cuda. This is the old GPU back-end and " "You are importing theano.sandbox.cuda. This is the old GPU back-end and "
"is removed from Theano. Use Theano 0.9 to use it. Even better, " "is removed from Theano. Use Theano 0.9 to use it. Even better, "
"transition to the new GPU back-end! See " "transition to the new GPU back-end! See "
......
...@@ -73,6 +73,7 @@ whitelist_flake8 = [ ...@@ -73,6 +73,7 @@ whitelist_flake8 = [
"scalar/__init__.py", "scalar/__init__.py",
"scalar/tests/__init__.py", "scalar/tests/__init__.py",
"sandbox/__init__.py", "sandbox/__init__.py",
"sandbox/cuda/__init__.py",
"sandbox/tests/__init__.py", "sandbox/tests/__init__.py",
"sandbox/gpuarray/__init__.py", "sandbox/gpuarray/__init__.py",
"sandbox/linalg/__init__.py", "sandbox/linalg/__init__.py",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论