Commit 769bb443 authored by Tres Seaver's avatar Tres Seaver

Remove pointless test of Python's instance attr semantics.

parent a5830619
......@@ -392,14 +392,6 @@ class ObjectManagerTests(PlacelessSetup, unittest.TestCase):
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment