[MERGE] TestCase.assertListRaises() returns the exception

John Arbash Meinel john at arbash-meinel.com
Mon Mar 17 20:49:02 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I wanted to do some testing of iter_changes() and I realized I wanted to
grab the exception. So this is just a simple patch which adds some real
tests for assertListRaises and then changes it to return the exception
like assertRaises now does.

This was useful for me, and I built upon it, so I'd like to get it merged.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3tk9JdeBCYSNAAMRAmQhAKDSwAodBQQFNs7mkIQue9QFNPU5jQCfbTjx
ZF7zJdDPS1DV9JbXbXIQ9N8=
=uMjF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assert_list_raises.patch
Type: text/x-diff
Size: 5846 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080317/13cc358d/attachment-0001.bin 


More information about the bazaar mailing list