Mercurial > ~astiob > upreckon > hgweb
changeset 130:652028850ea4
Removed useless arguments to call() from testcases.BatchTestCase.test()
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Thu, 19 May 2011 02:21:33 +0100 |
parents | 580f0f4687c3 |
children | 7923faf392fe |
files | testcases.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/testcases.py Mon May 16 21:42:43 2011 +0100 +++ b/testcases.py Thu May 19 02:21:33 2011 +0100 @@ -314,7 +314,7 @@ with contextmgr: with open(inputdatafname) as infile: with tempfile.TemporaryFile('w+') if options.erase and (not case.validator or callable(case.validator)) else open(case.problem.config.outname, 'w+') as outfile: - call(case.problem.config.path, case=case, stdin=infile, stdout=outfile, stderr=devnull, universal_newlines=True, bufsize=-1) + call(case.problem.config.path, case=case, stdin=infile, stdout=outfile, 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