Log message for revision 68150:
  **Don't** pollute os.environ when running tests.

Changed:
  U   Zope/branches/2.9/lib/python/Testing/makerequest.py

-=-
Modified: Zope/branches/2.9/lib/python/Testing/makerequest.py
===================================================================
--- Zope/branches/2.9/lib/python/Testing/makerequest.py 2006-05-16 13:47:31 UTC 
(rev 68149)
+++ Zope/branches/2.9/lib/python/Testing/makerequest.py 2006-05-16 14:01:05 UTC 
(rev 68150)
@@ -39,7 +39,7 @@
 
 def makerequest(app, stdout=stdout):
     resp = HTTPResponse(stdout=stdout)
-    environ = os.environ
+    environ = os.environ.copy()
     environ['SERVER_NAME'] = 'foo'
     environ['SERVER_PORT'] = '80'
     environ['REQUEST_METHOD'] =  'GET'

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to