Or better yet:

```
from contextlib import contextmanager
@contextmanager
def noop():
    yield
```