Rev 2829: doc in http://sourcefrog.net/bzr/trivial
Martin Pool
mbp at sourcefrog.net
Tue Sep 18 05:16:55 BST 2007
At http://sourcefrog.net/bzr/trivial
------------------------------------------------------------
revno: 2829
revision-id: mbp at sourcefrog.net-20070918041654-grr1z7j8zrf6hke6
parent: mbp at sourcefrog.net-20070918041604-olnnd90npihbyi2b
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: trivial
timestamp: Tue 2007-09-18 14:16:54 +1000
message:
doc
modified:
bzrlib/tests/test_symbol_versioning.py test_symbol_versioning.py-20060105104851-51d7722c2018d42b
=== modified file 'bzrlib/tests/test_symbol_versioning.py'
--- a/bzrlib/tests/test_symbol_versioning.py 2007-09-18 04:16:04 +0000
+++ b/bzrlib/tests/test_symbol_versioning.py 2007-09-18 04:16:54 +0000
@@ -63,9 +63,15 @@
return 1
def test_deprecated_static(self):
+ # XXX: The results are not quite right because the class name is not
+ # shown - however it is enough to give people a good indication of
+ # where the problem is.
expected_warning = (
"bzrlib.tests.test_symbol_versioning."
"deprecated_static "
+ ' \n'
+ ' This method was deprecated in version 0.7.\n'
+ ' ')
"was deprecated in version 0.7.", DeprecationWarning, 2)
expected_docstring = (
'Deprecated static.\n'
More information about the bazaar-commits
mailing list