[issue7876] unittest docs use deprecated method in code example

2010-02-08 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed on 3.1 in r78111. -- assignee: georg.brandl -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue7876] unittest docs use deprecated method in code example

2010-02-08 Thread Bernt Røskar Brenna
Bernt Røskar Brenna added the comment: Sorry, forgot to check svn, I was looking at the 3.1.1 release tarball. -- ___ Python tracker ___ _

[issue7876] unittest docs use deprecated method in code example

2010-02-07 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the report, this is fixed in r77999 and r78000 in trunk and py3k, but it needs to be backported to 3.1. -- nosy: +ezio.melotti priority: -> normal ___ Python tracker ___

[issue7876] unittest docs use deprecated method in code example

2010-02-07 Thread Bernt Røskar Brenna
New submission from Bernt Røskar Brenna : Suggest change the code example to use assertRaises instead of failUnlessRaises. The docs read: assertRaises(exception[, callable, ...])¶ failUnlessRaises(exception[, callable, ...])¶ with self.failUnlessRaises(some_error_class): d