...
This commit is contained in:
parent
9d66d11878
commit
d6187b5bfc
1 changed files with 2 additions and 3 deletions
|
|
@ -184,14 +184,13 @@ def print_go() -> None:
|
|||
sys.stderr.flush()
|
||||
print(go_proc.stdout.read().decode('utf-8', 'replace'), end='', flush=True)
|
||||
go_proc.stdout.close()
|
||||
go_proc.wait()
|
||||
return go_proc.wait()
|
||||
|
||||
if args.module:
|
||||
tests = filter_tests_by_module(tests, args.module)
|
||||
if not tests._tests:
|
||||
if go_proc:
|
||||
print_go()
|
||||
raise SystemExit(go_proc.returncode)
|
||||
raise SystemExit(print_go())
|
||||
raise SystemExit('No test module named %s found' % args.module)
|
||||
|
||||
if args.name:
|
||||
|
|
|
|||
Loading…
Reference in a new issue