changeset 176:88e1e6786f67

Fixed crashing on stdio=False with _unix
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 20 Jun 2011 16:00:45 +0300
parents 35d59ba0e27c
children 0d657576b1ac
files upreckon/testcases.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/upreckon/testcases.py	Sat Jun 18 02:54:05 2011 +0100
+++ b/upreckon/testcases.py	Mon Jun 20 16:00:45 2011 +0300
@@ -274,7 +274,7 @@
 					return case.validate(outfile)
 		else:
 			case.infile.copy(case.problem.config.inname)
-			call(case.problem.config.path, case=case, stdin=devnull, stdout=devnull, stderr=STDOUT)
+			call(case.problem.config.path, case=case, stdin=devnull, stdout=devnull, stderr=devnull)
 			if config.globalconf.force_zero_exitcode and case.process.returncode or case.process.returncode < 0:
 				raise NonZeroExitCode(case.process.returncode)
 			case.has_called_back = True