On 3/7/2011 9:47 AM, Antoine Pitrou wrote: > On Mon, 7 Mar 2011 19:14:55 +1000 > Nick Coghlan<ncoghlan at gmail.com> wrote: >> On Mon, Mar 7, 2011 at 6:36 PM, John Arbash Meinel >> <john at arbash-meinel.com> wrote: >>> >>> Especially since, AIUI, deprecations are suppressed by default now. >> >> True, but developers are expected to run their tests with them enabled. > > Where do we actually document this? Should be, and maybe is, in the nice new dev guide. Also, the doc for unittest.TextTestRunner says "By default this runner shows DeprecationWarning, PendingDeprecationWarning, and ImportWarning even if they are ignored by default." The idea (discussed here) is that developers of a module should see warnings when testing, even if users of the module do not. I am not sure whether above applies when running through unittest.main, but it should. -- Terry Jan Reedy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4