'a imported mock.call would break setup/factory discovery
due to it being callable and __code__ not being a code object'

def test_callables_nocode(self, testdir):

    testdir.makepyfile('\n                                            class    _call(tuple):\n                                                            def    __call__(self,    *k,    **kw):\n                                                                            pass\n                                                            def    __getattr__(self,    k):\n                                                                            return    self\n\n                                            call    =    _call()\n                                ')
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(failed=0, passed=0)
