This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [unittest] Missing docs for context manager attributes
Type: enhancement Stage:
Components: Documentation, Tests Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, jayman
Priority: normal Keywords:

Created on 2020-11-28 17:49 by jayman, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg382012 - (view) Author: Jason Yundt (jayman) Date: 2020-11-28 17:49
The documentation talks about how assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex can be used as context managers. It also talks about the attributes of those context managers. Some attributes aren't documented. For example, the warning attribute of the assertRaises or assertRaisesRegex context manager isn't documented.
History
Date User Action Args
2022-04-11 14:59:38adminsetgithub: 86658
2020-11-28 17:49:04jaymancreate