[Zope3-checkins] CVS: Zope3 - test.py:1.99
Fred L. Drake, Jr.
fred at zope.com
Fri Apr 9 11:15:11 EDT 2004
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv26857
Modified Files:
test.py
Log Message:
- we need to actually call configure_logging(), before the PathInit
constructor (potentially) changes the directory
- remove some crufty attempt to make zLOG behave that couldn't work
(and didn't!)
=== Zope3/test.py 1.98 => 1.99 ===
--- Zope3/test.py:1.98 Thu Apr 8 17:55:17 2004
+++ Zope3/test.py Fri Apr 9 11:15:11 2004
@@ -754,23 +754,11 @@
if not KEEP_STALE_BYTECODE:
os.path.walk(os.curdir, remove_stale_bytecode, None)
+ configure_logging()
+
# Initialize the path and cwd
global pathinit
pathinit = PathInit(BUILD, BUILD_INPLACE, libdir)
-
- configure_logging()
-
-## try:
-## import zLOG
-## except ImportError:
-## pass
-## else:
-## # zLOG is available, so we need to make sure it doesn't
-## # re-initialize anything we set up. If we don't, zLOG assumes
-## # it can clobber everything the first time it's initialized.
-## def null_initializer():
-## pass
-## zLOG.set_initializer(null_initializer)
files = find_tests(module_filter)
files.sort()
More information about the Zope3-Checkins
mailing list