comparison upreckon/problem.py @ 189:0480dfa50366

Corrected the remaining wrong references to test.py
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 27 Jul 2011 17:55:00 +0300
parents a55a1e00e121
children a76cdc26ba9d
comparison
equal deleted inserted replaced
188:fe03964896ef 189:0480dfa50366
183 except CannotReadInputFile: 183 except CannotReadInputFile:
184 verdict = 'cannot read the input file%s' % strerror(sys.exc_info()[1].upstream) 184 verdict = 'cannot read the input file%s' % strerror(sys.exc_info()[1].upstream)
185 except CannotReadAnswerFile: 185 except CannotReadAnswerFile:
186 verdict = 'cannot read the reference output file%s' % strerror(sys.exc_info()[1].upstream) 186 verdict = 'cannot read the reference output file%s' % strerror(sys.exc_info()[1].upstream)
187 except ExceptionWrapper: 187 except ExceptionWrapper:
188 verdict = 'unspecified reason [this may be a bug in test.py]%s' % strerror(sys.exc_info()[1].upstream) 188 verdict = 'unspecified reason [this may be a bug in Upreckon]%s' % strerror(sys.exc_info()[1].upstream)
189 except TestCaseNotPassed: 189 except TestCaseNotPassed:
190 verdict = 'unspecified reason [this may be a bug in test.py]%s' % strerror(sys.exc_info()[1]) 190 verdict = 'unspecified reason [this may be a bug in Upreckon]%s' % strerror(sys.exc_info()[1])
191 #except Exception: 191 #except Exception:
192 # verdict = 'unknown error [this may be a bug in test.py]%s' % strerror(sys.exc_info()[1]) 192 # verdict = 'unknown error [this may be a bug in Upreckon]%s' % strerror(sys.exc_info()[1])
193 else: 193 else:
194 try: 194 try:
195 granted, comment = granted 195 granted, comment = granted
196 except TypeError: 196 except TypeError:
197 comment = '' 197 comment = ''