r46929 - Fix test after docstring update.
adiroiban-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: adiroiban
Date: Sun Mar 6 04:22:07 2016
New Revision: 46929
Modified:
branches/deprecated-property-8124/twisted/python/test/test_deprecate.py
Log:
Fix test after docstring update.
Modified: branches/deprecated-property-8124/twisted/python/test/test_deprecate.py
==============================================================================
--- branches/deprecated-property-8124/twisted/python/test/test_deprecate.py (original)
+++ branches/deprecated-property-8124/twisted/python/test/test_deprecate.py Sun Mar 6 04:22:07 2016
@@ -757,7 +757,11 @@
self.assertDocstring(
ClassWithDeprecatedProperty.someProperty,
- ['Getter docstring.', 'Deprecated in Twisted 1.2.3.'],
+ [
+ 'Getter docstring.',
+ '@return: The property.',
+ 'Deprecated in Twisted 1.2.3.',
+ ],
)
ClassWithDeprecatedProperty.someProperty.deprecatedVersion = Version(
'Twisted', 1, 2, 3)