提交 6117c9af authored 作者: Frederic's avatar Frederic

fix test for python 2.4

上级 9d6e9530
...@@ -8,6 +8,7 @@ import numpy ...@@ -8,6 +8,7 @@ import numpy
from numpy.testing import dec from numpy.testing import dec
import theano import theano
from theano.gof.python25 import all
from theano.gof import Variable, Op from theano.gof import Variable, Op
from theano import gof, scalar, config from theano import gof, scalar, config
......
...@@ -16,6 +16,7 @@ from theano import tensor ...@@ -16,6 +16,7 @@ from theano import tensor
import theano.ifelse import theano.ifelse
from theano.ifelse import IfElse, ifelse from theano.ifelse import IfElse, ifelse
from theano.tests import unittest_tools as utt from theano.tests import unittest_tools as utt
from theano.gof.python25 import all
class test_ifelse(unittest.TestCase, utt.TestOptimizationMixin): class test_ifelse(unittest.TestCase, utt.TestOptimizationMixin):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论