[Anygui-checkins] CVS: nondist/sandbox/magnus/tester runme.py,1.1,1.2
Brought to you by:
mlh
|
From: Magnus L. H. <ml...@us...> - 2003-02-08 03:12:49
|
Update of /cvsroot/anygui/nondist/sandbox/magnus/tester
In directory sc8-pr-cvs1:/tmp/cvs-serv4597
Modified Files:
runme.py
Log Message:
Fixed thinko
Index: runme.py
===================================================================
RCS file: /cvsroot/anygui/nondist/sandbox/magnus/tester/runme.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** runme.py 8 Feb 2003 02:01:25 -0000 1.1
--- runme.py 8 Feb 2003 03:12:45 -0000 1.2
***************
*** 164,168 ****
docs = self.scope.get('__doc__', '(No description available)')
docs = '<p>' + docs.replace('\n\n', '\n</p>\n<p>') + '\n</p>'
! return '''<h3>%s: %s</h3>
%s
--- 164,168 ----
docs = self.scope.get('__doc__', '(No description available)')
docs = '<p>' + docs.replace('\n\n', '\n</p>\n<p>') + '\n</p>'
! return '''<h3>test_%s.py: %s</h3>
%s
***************
*** 202,206 ****
exec open(fname) in scope
testScopes.append(scope)
! name = os.path.basename(fname)
testNames.append(name)
for other in eval('after', scope):
--- 202,206 ----
exec open(fname) in scope
testScopes.append(scope)
! name = os.path.basename(fname)[5:-3]
testNames.append(name)
for other in eval('after', scope):
|