New issue 653: Add a version of deprecated_call which is a context manager https://bitbucket.org/hpk42/pytest/issue/653/add-a-version-of-deprecated_call-which-is Alex Gaynor: This would be more convienent for deprecating things like "accessing an attribute"