Parent Directory | Revision Log | Patch
revision 1.15 by benja, Wed Oct 9 08:18:36 2002 UTC | revision 1.16 by benja, Wed Oct 9 08:46:04 2002 UTC | |
---|---|---|
# | Line 103 def load(file): | Line 103 def load(file): |
103 | testcode = ''' | testcode = ''' |
104 | def %s(self): | def %s(self): |
105 | %s | %s |
106 | self.module.%s() | try: |
107 | self.module.%s() | |
108 | except java.lang.Throwable, t: | |
109 | t.printStackTrace() | |
110 | raise t | |
111 | ''' | ''' |
112 | ||
113 | testcodes = [testcode % (t, docstring(tests[t]), t) for t in testnames] | testcodes = [testcode % (t, docstring(tests[t]), t) for t in testnames] |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |