[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_ Disable warnings in subprocesses. We really don't need to see

Jim Fulton jim at zope.com
Tue Apr 18 19:55:27 EDT 2006


Log message for revision 67087:
  Disable warnings in subprocesses.  We really don't need to see
  sub-process warnings.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_inputbuffering.py
  U   Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_zeo.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_inputbuffering.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_inputbuffering.py	2006-04-18 23:55:24 UTC (rev 67086)
+++ Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_inputbuffering.py	2006-04-18 23:55:26 UTC (rev 67087)
@@ -106,7 +106,6 @@
             os.mkdir(self.dir)
 
         self.path = sys.path
-        self.python = sys.executable
         self.config = os.path.join(self.dir, 'zope.conf')
         self.zeo_port = zeo_port
         self.port = ZEO.tests.testZEO.get_port()
@@ -189,7 +188,8 @@
 
     def start(self):
         os.spawnv(os.P_NOWAIT, sys.executable,
-                  (sys.executable, os.path.join(self.dir, "runzope"), ),
+                  (sys.executable, '-Wignore',
+                   os.path.join(self.dir, "runzope"), ),
                   )
 
     def stop(self):

Modified: Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_zeo.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_zeo.py	2006-04-18 23:55:24 UTC (rev 67086)
+++ Zope3/branches/jim-adapter/src/zope/app/twisted/tests/test_zeo.py	2006-04-18 23:55:26 UTC (rev 67087)
@@ -125,7 +125,6 @@
             os.mkdir(self.dir)
 
         self.path = sys.path
-        self.python = sys.executable
         self.config = os.path.join(self.dir, 'zope.conf')
         self.zeo_port = zeo_port
         self.port = ZEO.tests.testZEO.get_port()
@@ -203,7 +202,8 @@
 
     def start(self):
         os.spawnv(os.P_NOWAIT, sys.executable,
-                  (sys.executable, os.path.join(self.dir, "runzope"), ),
+                  (sys.executable, '-Wignore',
+                   os.path.join(self.dir, "runzope"), ),
                   )
                   
     def stop(self):
@@ -306,7 +306,7 @@
 
     def start(self):
         return os.spawnv(os.P_WAIT, sys.executable,
-                         (sys.executable,
+                         (sys.executable, '-Wignore',
                           os.path.join(self.dir, "runzope"),
                           )
                          )



More information about the Zope3-Checkins mailing list