[MERGE] Add test framework for checking code that raises python warnings
Martin Pool
mbp at canonical.com
Wed Oct 24 08:46:03 BST 2007
We have some support for checking that code raises a DeprecationWarning,
but it's not useful for checking that it raises a Python warning, and we
have some places where we do so.
Writing this does make me wonder if we should be just sending warnings
to .bzr.log by default - if we're e.g. failing to release a lock in bzr
there's not much point telling end users about it.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-U0vK5N.patch
Type: text/x-diff
Size: 10622 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071024/a53417b6/attachment.bin
More information about the bazaar
mailing list