提交 89c9744b authored 作者: Frederic Bastien's avatar Frederic Bastien

Mark a test as Know error in debug mode.

上级 7798248e
...@@ -5,6 +5,7 @@ import unittest ...@@ -5,6 +5,7 @@ import unittest
import cPickle import cPickle
import numpy import numpy
from numpy.testing import dec
import theano import theano
import theano.sandbox.rng_mrg import theano.sandbox.rng_mrg
...@@ -192,6 +193,10 @@ class T_Scan(unittest.TestCase): ...@@ -192,6 +193,10 @@ class T_Scan(unittest.TestCase):
# generator network, only one output , type scalar ; no sequence or # generator network, only one output , type scalar ; no sequence or
# non sequence arguments # non sequence arguments
@dec.knownfailureif(
isinstance(theano.compile.mode.get_default_mode(),
theano.compile.debugmode.DebugMode),
("This test fails in DebugMode, because it is not yet pickable."))
def test_pickling(self): def test_pickling(self):
def f_pow2(x_tm1): def f_pow2(x_tm1):
return 2*x_tm1 return 2*x_tm1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论