Message382012
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. |
|
Date |
User |
Action |
Args |
2020-11-28 17:49:04 | jayman | set | recipients:
+ jayman, docs@python |
2020-11-28 17:49:04 | jayman | set | messageid: <1606585744.71.0.203898874877.issue42492@roundup.psfhosted.org> |
2020-11-28 17:49:04 | jayman | link | issue42492 messages |
2020-11-28 17:49:04 | jayman | create | |
|