提交 3e552255 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fix following code review

上级 890fdaa1
......@@ -74,6 +74,7 @@ def main(stdout=None, stderr=None, argv=None, theano_nose=None, batch_size=None)
def run(stdout, stderr, argv, theano_nose, batch_size):
if len(argv) == 1:
tests_dir = theano.__path__[0]
other_args = []
else:
# tests_dir should be at the end of argv, there can be other arguments
tests_dir = argv[-1]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论