[Zope-Checkins] CVS: Packages/ZConfig/tests - runtests.py:1.3

Fred L. Drake, Jr. fred@zope.com
Mon, 20 Jan 2003 17:53:52 -0500


Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv16950

Modified Files:
	runtests.py 
Log Message:
Insert the directory we're looking to import ZConfig from in front of
sys.path, since we don't want an installed version to be imported.


=== Packages/ZConfig/tests/runtests.py 1.2 => 1.3 ===
--- Packages/ZConfig/tests/runtests.py:1.2	Fri Jan  3 16:05:56 2003
+++ Packages/ZConfig/tests/runtests.py	Mon Jan 20 17:53:50 2003
@@ -26,7 +26,7 @@
 TOPDIR = os.path.dirname(os.path.dirname(TESTDIR))
 
 if TOPDIR not in sys.path:
-    sys.path.append(TOPDIR)
+    sys.path.insert(0, TOPDIR)
 
 def load_tests(name):
     name = "ZConfig.tests." + name