diff 2.00/testcases.py @ 27:dc4be35d17e0

Bug fixes Bug fix: compat.py now works in Python 3 (module __builtin__ was renamed builtins). Bug fix: random spaces in the indentation of testcases.py have been removed. Bug fix: false dummy{in,out}name's are now again replaced with the values of testcase{in,out}name.
author Oleg Oshmyan <chortos@inbox.lv>
date Fri, 15 Oct 2010 22:17:31 +0000
parents 5bbb68833868
children 2b459f9743b4
line wrap: on
line diff
--- a/2.00/testcases.py	Thu Sep 23 23:50:45 2010 +0000
+++ b/2.00/testcases.py	Fri Oct 15 22:17:31 2010 +0000
@@ -393,7 +393,7 @@
 											raise CanceledByUser
 										else:
 											time_next_check = now + .15
-								 	time.sleep(0)
+									time.sleep(0)
 						else:
 							time_end = case.time_started + case.maxtime
 							while True:
@@ -409,7 +409,7 @@
 											raise CanceledByUser
 										else:
 											time_next_check = now + .15
-								 	time.sleep(0)
+									time.sleep(0)
 						if config.globalconf.force_zero_exitcode and case.process.returncode:
 							raise NonZeroExitCode(case.process.returncode)
 						callback()
@@ -442,7 +442,7 @@
 								raise CanceledByUser
 							else:
 								time_next_check = now + .15
-					 	time.sleep(0)
+						time.sleep(0)
 			else:
 				time_end = case.time_started + case.maxtime
 				while True:
@@ -458,7 +458,7 @@
 								raise CanceledByUser
 							else:
 								time_next_check = now + .15
-					 	time.sleep(0)
+						time.sleep(0)
 			if config.globalconf.force_zero_exitcode and case.process.returncode:
 				raise NonZeroExitCode(case.process.returncode)
 			callback()