[Zpt] CVS: Packages/TAL - runtest.py:1.9
fred@digiciool.com
fred@digiciool.com
Thu, 15 Mar 2001 12:48:31 -0500 (EST)
Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv26593
Modified Files:
runtest.py
Log Message:
Do not start the traceback on the same line as the name of the file we are
testing.
--- Updated File runtest.py in package Packages/TAL --
--- runtest.py 2001/03/15 17:36:56 1.8
+++ runtest.py 2001/03/15 17:48:31 1.9
@@ -140,9 +140,11 @@
finally:
sys.stdout, sys.argv = save
except:
- print sys.exc_type
errors = 1
- if not quiet:
+ if quiet:
+ print sys.exc_type
+ else:
+ print "Failed:"
traceback.print_exc()
continue
head, tail = os.path.split(arg)