提交 6092ea7d authored 作者: Olivier Delalleau's avatar Olivier Delalleau

PEP8 fixes

上级 99090dbe
...@@ -32,7 +32,7 @@ If 'time_profile=True', this script conducts time-profiling of the tests: ...@@ -32,7 +32,7 @@ If 'time_profile=True', this script conducts time-profiling of the tests:
- test name - test name
- name of class to which test belongs (if any), otherwise full - name of class to which test belongs (if any), otherwise full
information is contained in test name information is contained in test name
- test outcome ('OK', 'SKIPPED TESTS', 'FAILED TEST' or 'FAILED PARSING') - test outcome ('OK', 'SKIPPED TEST', 'FAILED TEST' or 'FAILED PARSING')
In 'timeprof_sort', test records are sorted according to run-time In 'timeprof_sort', test records are sorted according to run-time
whereas in 'timeprof_nosort' records are reported according to whereas in 'timeprof_nosort' records are reported according to
sequential number. The former classification is the main information sequential number. The former classification is the main information
...@@ -169,7 +169,7 @@ def run(stdout, stderr, argv, theano_nose, batch_size, time_profile, ...@@ -169,7 +169,7 @@ def run(stdout, stderr, argv, theano_nose, batch_size, time_profile,
stdout.flush() stdout.flush()
stderr.flush() stderr.flush()
test_range = range(test_id, min(test_id + batch_size, n_tests + 1)) test_range = range(test_id, min(test_id + batch_size, n_tests + 1))
cmd =([python, theano_nose, '--with-id'] + cmd = ([python, theano_nose, '--with-id'] +
map(str, test_range) + map(str, test_range) +
argv) argv)
subprocess_extra_args = dict(stdin=dummy_in.fileno()) subprocess_extra_args = dict(stdin=dummy_in.fileno())
...@@ -335,5 +335,3 @@ def run(stdout, stderr, argv, theano_nose, batch_size, time_profile, ...@@ -335,5 +335,3 @@ def run(stdout, stderr, argv, theano_nose, batch_size, time_profile,
if __name__ == '__main__': if __name__ == '__main__':
sys.exit(main()) sys.exit(main())
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论