提交 9adc1d11 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

I've added a known failure for t_extending2 which I think is the same as

tensor/test_basic:T_scalarfromtensor.test0 which was already a known failure
上级 8b99903b
...@@ -5,6 +5,7 @@ from theano import function ...@@ -5,6 +5,7 @@ from theano import function
import numpy import numpy
from numpy import array from numpy import array
from numpy.testing import dec
from theano import config from theano import config
from theano.tests import unittest_tools as utt from theano.tests import unittest_tools as utt
...@@ -162,8 +163,14 @@ class T_extending(unittest.TestCase): ...@@ -162,8 +163,14 @@ class T_extending(unittest.TestCase):
fn = lambda x, y: x / y) fn = lambda x, y: x / y)
@dec.knownfailureif(isinstance(theano.compile.mode.get_default_mode(),theano.compile.debugmode.DebugMode),
"This test fail in DEBUG_MODE but this don't make theano generate some bad code. It is a trouble with DEBUG_MODE")
def test_extending_2(self): def test_extending_2(self):
'''
This test fails in DebugMode for the same reasons the test in
tensor/tests/test_basic.py:T_scalarfromtensor.test0
fails on debug mode ( as much as I could tell - Razvan )
'''
from theano import gof from theano import gof
class Double(gof.Type): class Double(gof.Type):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论