New GitHub issue #95902 from graingert:<br>
<hr>
<pre>
I think by adopting the testing approach taken by AsyncExitStack and ExitStack for contextlib.contextmanager it should be possible to prevent contextlib.asynccontextmanager from drifting in implementation
```
class TestAsyncExitStack(TestBaseExitStack, unittest.TestCase):
class SyncAsyncExitStack(AsyncExitStack):
```
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/95902">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: graingert</p>