derwiki-adroll / mock

Automatically exported from code.google.com/p/mock
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

MagicMock 'protocol' methods workaround for 0.7.2? #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. m = magicMock()
2. m[1]  # not a magicMock

This is fixed in rev 481, but is there a way to simulate it?  just wait until 
0.8?

Original issue reported on code.google.com by gregg.l...@lolapps.com on 6 Oct 2011 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by fuzzyman on 6 Oct 2011 at 10:14