changeset 106:aa0378ea1f93

Replaced constant properties with regular attributes
author Oleg Oshmyan <chortos@inbox.lv>
date Fri, 08 Apr 2011 18:00:51 +0300
parents 9f922b11c98a
children 6589511f5418
files testcases.py
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/testcases.py	Fri Apr 08 17:45:53 2011 +0300
+++ b/testcases.py	Fri Apr 08 18:00:51 2011 +0300
@@ -128,6 +128,7 @@
 	             'maxmemory', 'has_called_back', 'files_to_delete',
 	             'cpu_time_limit_string', 'wall_time_limit_string',
 	             'time_limit_string')
+	has_ansfile = has_iofiles = False
 	needs_realinname = True
 	
 	if ABCMeta:
@@ -178,14 +179,6 @@
 				callback()
 			case.cleanup()
 	
-	@property
-	def has_iofiles(case):
-		return False
-	
-	@property
-	def has_ansfile(case):
-		return False
-	
 	def cleanup(case):
 		#if getattr(case, 'infile', None):
 		#	case.infile.close()