[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/xmlrpc/README.txt Fix apparently test which is apparently failing on some machines.

Philipp von Weitershausen philikon at philikon.de
Wed Sep 1 13:28:51 EDT 2004


Log message for revision 27389:
  Fix apparently test which is apparently failing on some machines.
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/xmlrpc/README.txt


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/xmlrpc/README.txt
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/xmlrpc/README.txt	2004-09-01 17:04:54 UTC (rev 27388)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/publisher/xmlrpc/README.txt	2004-09-01 17:28:50 UTC (rev 27389)
@@ -391,7 +391,7 @@
 `datetime.datetime` class (it should be made to, really).  DateTime
 values need to be encoded as `xmlrpclib.DateTime` instances:
   
-  >>> import xmlrpclib, time
+  >>> import xmlrpclib
 
   >>> class DateTimeDemo:
   ...     def __init__(self, context, request):
@@ -399,7 +399,7 @@
   ...         self.request = request
   ...
   ...     def epoch(self):
-  ...         return xmlrpclib.DateTime(1)
+  ...         return xmlrpclib.DateTime("19700101T01:00:01")
 
 Now we'll register it as a view:
 



More information about the Zope3-Checkins mailing list