[issue44594] AsyncExitStack.enter_async_context() is mishandling exception __context__

2021-07-10 Thread David Hoyes
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

2017-07-27 Thread David Hoyes
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