提交 0660048d authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fixes following code review

上级 4786b8ed
import numpy
from numpy.testing import assert_allclose
from nose.plugins.skip import SkipTest
import os import os
from tempfile import mkdtemp
import shutil import shutil
import unittest import unittest
from tempfile import mkdtemp
import numpy
from numpy.testing import assert_allclose
from nose.plugins.skip import SkipTest
import theano import theano
import theano.sandbox.cuda as cuda_ndarray import theano.sandbox.cuda as cuda_ndarray
...@@ -19,7 +20,6 @@ class T_dump_load(unittest.TestCase): ...@@ -19,7 +20,6 @@ class T_dump_load(unittest.TestCase):
def setUp(self): def setUp(self):
# Work in a temporary directory to avoid cluttering the repository # Work in a temporary directory to avoid cluttering the repository
self.origdir = os.getcwd() self.origdir = os.getcwd()
self.tmpdir = None
self.tmpdir = mkdtemp() self.tmpdir = mkdtemp()
os.chdir(self.tmpdir) os.chdir(self.tmpdir)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论