[Checkins] SVN: zope.locking/trunk/src/zope/locking/annoying.txt Remove unneeded test stub

Patrick Strawderman patrick at zope.com
Mon Nov 23 16:27:27 EST 2009


Log message for revision 105973:
  Remove unneeded test stub

Changed:
  U   zope.locking/trunk/src/zope/locking/annoying.txt

-=-
Modified: zope.locking/trunk/src/zope/locking/annoying.txt
===================================================================
--- zope.locking/trunk/src/zope/locking/annoying.txt	2009-11-23 21:10:16 UTC (rev 105972)
+++ zope.locking/trunk/src/zope/locking/annoying.txt	2009-11-23 21:27:26 UTC (rev 105973)
@@ -11,12 +11,7 @@
 
     >>> from zope import interface, component
 
-    >>> class Connection(object):
-    ...     def add(self, obj):
-    ...         pass
-    ...     def db(self):
-    ...         raise Exception()
-    >>> util._p_jar = Connection()
+    >>> conn.add(util)
 
     >>> import datetime
     >>> import pytz



More information about the checkins mailing list