Rev 1986: (robertc) Add TestCase.applyDeprecated, a common-case helper for testing deprecated functions. in /home/pqm/archives/thelove/bzr/+trunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Wed Sep 6 00:33:02 BST 2006
------------------------------------------------------------
revno: 1986
revision-id: pqm at pqm.ubuntu.com-20060905233301-2e69db43982088ae
parent: pqm at pqm.ubuntu.com-20060905221300-d2c3e00cf7ff3eee
parent: robertc at robertcollins.net-20060905231840-bd95f673d0205a81
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2006-09-06 00:33:01 +0100
message:
(robertc) Add TestCase.applyDeprecated, a common-case helper for testing deprecated functions.
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/tests/__init__.py selftest.py-20050531073622-8d0e3c8845c97a64
bzrlib/tests/repository_implementations/test_commit_builder.py test_commit_builder.py-20060606110838-76e3ra5slucqus81-1
bzrlib/tests/test_selftest.py test_selftest.py-20051202044319-c110a115d8c0456a
------------------------------------------------------------
merged: robertc at robertcollins.net-20060905231840-bd95f673d0205a81
parent: robertc at robertcollins.net-20060905230133-2c68611e38fd7922
committer: Robert Collins <robertc at robertcollins.net>
branch nick: applyDeprecated
timestamp: Wed 2006-09-06 09:18:40 +1000
message:
Change raise AssertionError to self.fail in the new applyDeprecated test support method.
------------------------------------------------------------
merged: robertc at robertcollins.net-20060905230133-2c68611e38fd7922
parent: robertc at robertcollins.net-20060905213551-c417e2be6afb3837
committer: Robert Collins <robertc at robertcollins.net>
branch nick: applyDeprecated
timestamp: Wed 2006-09-06 09:01:33 +1000
message:
New TestCase helper applyDeprecated. This allows you to call a callable
which is deprecated without it spewing to the screen, just by supplying
the deprecation format string issued for it. (Robert Collins)
More information about the bazaar-commits
mailing list