Rev 5651: Remove abusive deprecation decorators in file:///home/vila/src/bzr/bugs/794960-wrong-deprecations/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Thu Jun 9 12:17:09 UTC 2011
At file:///home/vila/src/bzr/bugs/794960-wrong-deprecations/
------------------------------------------------------------
revno: 5651
revision-id: v.ladeuil+lp at free.fr-20110609121709-op21oynar7h0f60t
parent: pqm at pqm.ubuntu.com-20110524112316-6nv9mvjm7nai7znr
fixes bug(s): https://launchpad.net/bugs/794960
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 794960-wrong-deprecations
timestamp: Thu 2011-06-09 14:17:09 +0200
message:
Remove abusive deprecation decorators
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py 2011-05-13 10:59:20 +0000
+++ b/bzrlib/tests/__init__.py 2011-06-09 12:17:09 +0000
@@ -1450,7 +1450,6 @@
else:
self.assertEqual(expected_docstring, obj.__doc__)
- @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4)))
def failUnlessExists(self, path):
return self.assertPathExists(path)
@@ -1463,7 +1462,6 @@
self.assertTrue(osutils.lexists(path),
path + " does not exist")
- @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4)))
def failIfExists(self, path):
return self.assertPathDoesNotExist(path)
=== modified file 'doc/en/release-notes/bzr-2.3.txt'
--- a/doc/en/release-notes/bzr-2.3.txt 2011-05-18 09:04:37 +0000
+++ b/doc/en/release-notes/bzr-2.3.txt 2011-06-09 12:17:09 +0000
@@ -61,6 +61,10 @@
suite. This can include new facilities for writing tests, fixes to
spurious test failures and changes to the way things should be tested.
+* Remove the deprecation decorators for ``failUnlessExists`` and
+ ``failIfExists``. The deprecation "will" occur in 2.4, not
+ before. Providing the wrappers is enough as far as 2.3 is concerned.
+ (Vincent Ladeuil #794960)
bzr 2.3.3
#########
More information about the bazaar-commits
mailing list