[ZPT] CVS: Packages/TAL - runtest.py:1.18

guido@digicool.com guido@digicool.com
Fri, 15 Jun 2001 10:12:09 -0400 (EDT)


Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv14551

Modified Files:
	runtest.py 
Log Message:
Import setpath when we are __main__ (since driver doesn't do this for
us any more, but we may need it).



--- Updated File runtest.py in package Packages/TAL --
--- runtest.py	2001/05/18 19:17:17	1.17
+++ runtest.py	2001/06/15 14:12:09	1.18
@@ -94,6 +94,9 @@
 import glob
 import traceback
 
+if __name__ == "__main__":
+    import setpath                      # Local hack to tweak sys.path etc.
+
 import driver
 
 def showdiff(a, b):