Log message for revision 124351:
  Remove pointless test of Python's instance attr semantics.

Changed:
  U   Zope/branches/2.12/src/OFS/tests/testObjectManager.py

-=-
Modified: Zope/branches/2.12/src/OFS/tests/testObjectManager.py
===================================================================
--- Zope/branches/2.12/src/OFS/tests/testObjectManager.py       2012-02-09 
17:01:52 UTC (rev 124350)
+++ Zope/branches/2.12/src/OFS/tests/testObjectManager.py       2012-02-09 
17:04:44 UTC (rev 124351)
@@ -392,14 +392,6 @@
         si1 = SimpleItem('1')
         om['1'] = si1
         self.failUnless(om.get('1') == si1)
-        # A contained item overwrites the method
-        self.failUnless(hasattr(om.get, 'im_func'))
-        om.__dict__['get'] = si1
-        self.failUnless(aq_base(om.get) is si1)
-        self.failUnless(aq_base(om['get']) is si1)
-        # Once the object is gone, the method is back
-        del om['get']
-        self.failUnless(hasattr(om.get, 'im_func'))
 
     def test_items(self):
         om = self._makeOne()

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

Reply via email to