Weekly update: bzr.dev frozen for 0.12

John Arbash Meinel john at arbash-meinel.com
Tue Oct 17 01:11:28 BST 2006


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

Martin Pool wrote:
> On 16 Oct 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> 
>> no-warnings - The pqm is now configured to reject merges that raise a
>> warning. This should help prevent us forgetting to update code that is
>> calling deprecated functions.
> 
> Of course, it's still good to test deprecated functions, to make sure
> they don't break in the period where they are supported but deprecated.
> But this must now be done through callDeprecated/applyDeprecated.
> 

Right. Thanks for making this clear. We do want tests that both

1) Make sure DeprecationWarning is raised when people do use deprecated
functions.
and
2) Test that they still work, since we haven't removed support for them yet.

And that is what TestCase.callDeprecated/applyDeprecated are for.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFNB+wJdeBCYSNAAMRAh4PAJ9CupUlK8ETyjrl9kqUmpDI+2BTeQCfQDJ5
MB0d24zxEsRyM0BwFa08WvI=
=XuSw
-----END PGP SIGNATURE-----




More information about the bazaar mailing list