提交 261e726b authored 作者: Frederic Bastien's avatar Frederic Bastien

use __file__ so that we can copy/paste the code.

上级 f1b48497
...@@ -99,4 +99,4 @@ class test_logistic_regression_example(unittest.TestCase): ...@@ -99,4 +99,4 @@ class test_logistic_regression_example(unittest.TestCase):
if __name__ == '__main__': if __name__ == '__main__':
from theano.tests import main from theano.tests import main
main("test_logistic_regression") main(__file__)
...@@ -310,4 +310,4 @@ class T_test_wiki_module(unittest.TestCase): ...@@ -310,4 +310,4 @@ class T_test_wiki_module(unittest.TestCase):
if __name__ == '__main__': if __name__ == '__main__':
from theano.tests import main from theano.tests import main
main("test_wiki") main(__file__)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论