Re: cpython: use assertWarns instead of check_warnings - Issue14341
On Wed, Apr 11, 2012 at 09:33:30PM +0200, Georg Brandl wrote:
> >+ with self.assertWarns(DeprecationWarning) as cm:
> > req.add_data("data")
> There's no need for adding the "as cm" if you don't need the cm object.
I overlooked. Thanks for spotting. I have corrected it.