New submission from Jason Yundt <swagfortr...@gmail.com>:

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.

----------
assignee: docs@python
components: Documentation, Tests
messages: 382012
nosy: docs@python, jayman
priority: normal
severity: normal
status: open
title: [unittest] Missing docs for context manager attributes
type: enhancement
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42492>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to