提交 fc03bdbd authored 作者: Chiheb Trabelsi's avatar Chiheb Trabelsi

test_rng_curand.py has been modified in order to respect the flake8 style.

上级 aa6c6a91
...@@ -8,7 +8,7 @@ from theano.sandbox.rng_mrg import MRG_RandomStreams ...@@ -8,7 +8,7 @@ from theano.sandbox.rng_mrg import MRG_RandomStreams
# Skip tests if cuda_ndarray is not available. # Skip tests if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest from nose.plugins.skip import SkipTest
import theano.sandbox.cuda as cuda_ndarray import theano.sandbox.cuda as cuda_ndarray
if cuda_ndarray.cuda_available == False: if cuda_ndarray.cuda_available is False:
raise SkipTest('Optional package cuda disabled') raise SkipTest('Optional package cuda disabled')
# The PyCObject that represents the cuda random stream object # The PyCObject that represents the cuda random stream object
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论