This commit is contained in:
Maximilian Hils
2016-07-02 03:03:42 -07:00
parent d9f797e7e6
commit 2f8a1fd2cb
2 changed files with 46 additions and 4 deletions

View File

@@ -314,12 +314,12 @@ class decoded(object):
:py:attr:`raw_content` has the encoded content.
"""
def __init__(self, message):
def __init__(self, message): # pragma no cover
warnings.warn("decoded() is deprecated, you can now directly use .content instead. "
".raw_content has the encoded content.", DeprecationWarning)
def __enter__(self):
def __enter__(self): # pragma no cover
pass
def __exit__(self, type, value, tb):
def __exit__(self, type, value, tb): # pragma no cover
pass