[Zope-CVS] SVN: soap/trunk/publisher.py suppress warning triggered in ZSI by the functional tests

Fred L. Drake, Jr. fdrake at gmail.com
Mon Jan 31 12:24:21 EST 2005


Log message for revision 28993:
  suppress warning triggered in ZSI by the functional tests

Changed:
  U   soap/trunk/publisher.py

-=-
Modified: soap/trunk/publisher.py
===================================================================
--- soap/trunk/publisher.py	2005-01-31 17:24:11 UTC (rev 28992)
+++ soap/trunk/publisher.py	2005-01-31 17:24:21 UTC (rev 28993)
@@ -18,6 +18,7 @@
 """
 
 import sys, ZSI
+import warnings
 from zope.app.publication.interfaces import ISOAPRequestFactory
 from zope.publisher.http import HTTPRequest, HTTPResponse
 from soap.interfaces import ISOAPRequest, ISOAPResponse
@@ -29,6 +30,9 @@
 from StringIO import StringIO
 
 
+warnings.filterwarnings("ignore", category=FutureWarning, module="ZSI.TC")
+
+
 class SOAPRequestFactory(object):
     """
     This class implements a SOAP request factory that is registered



More information about the Zope-CVS mailing list