[issue32971] Docs on unittest.TestCase.assertRaises() should clarify context manager details

2019-05-06 Thread anthony shaw
Change by anthony shaw : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue32971] Docs on unittest.TestCase.assertRaises() should clarify context manager details

2019-05-06 Thread anthony shaw
Change by anthony shaw : -- pull_requests: -9605 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32971] Docs on unittest.TestCase.assertRaises() should clarify context manager details

2018-11-02 Thread Dave Shawley
Change by Dave Shawley : -- keywords: +patch pull_requests: +9605 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue32971] Docs on unittest.TestCase.assertRaises() should clarify context manager details

2018-03-11 Thread R. David Murray
R. David Murray added the comment: The implementation is literally that no non-keyword arguments other than the exception are given. If any keyword arguments other than msg are given, you get a warning. To say just "no callable" would be about as confusing as the 'and possibly' given the doc

[issue32971] Docs on unittest.TestCase.assertRaises() should clarify context manager details

2018-03-01 Thread Brett Cannon
Change by Brett Cannon : -- title: Docs on unittest.TestCase.assertRaises() should be improved -> Docs on unittest.TestCase.assertRaises() should clarify context manager details ___ Python tracker ___