[issue44594] AsyncExitStack.enter_async_context() is mishandling exception __context__
Change by David Hoyes : -- nosy: +David Hoyes ___ Python tracker <https://bugs.python.org/issue44594> ___ ___ Python-bugs-list mailing list Unsubscribe:
[issue27715] call-matcher breaks if a method is mocked with spec=True
David Hoyes added the comment: I came across a different failing test case, which looks a lot like the same issue: ``` from unittest import mock class Foo(object): def __call__(self, x): return x m = mock.create_autospec(Foo, instance=True) m(7) m.assert_called_once_with(7