blob: e32d925abd78231fdac028b4d011582e647250d3 [file]
from mock import patch
class Spam(object):
pass
with patch.object(Spam, 'foo'):
pass