module documentation
Tests for Twisted's deprecation framework, twisted.python.deprecate
.
Class |
|
Test the _appendToDocstring function. |
Class |
|
Class with a single deprecated property. |
Class |
|
Tests for twisted.python.deprecate._DeprecatedAttribute and twisted.python.deprecate.deprecatedModuleAttribute , which issue warnings for deprecated module-level attributes. |
Class |
|
Class which is entirely deprecated without having a replacement. |
Class |
|
Tests for deprecated decorators. |
Class |
|
No class docstring; 9/9 methods documented |
Class |
|
Tests for deprecatedModuleAttribute which involve loading a module via 'import'. |
Class |
|
Keyword only arguments (PEP 3102). |
Class |
|
Tests for twisted.python.deprecate._ModuleProxy , which proxies access to module-level attributes, intercepting access to deprecated attributes and passing through access to normal attributes. |
Class |
|
Tests for mutuallyExclusiveArguments . |
Class |
|
Tests for twisted.python.deprecate.warnAboutFunction which allows the callers of a function to issue a DeprecationWarning about that function. |
Function | dummy |
Do nothing. |
Function | dummy |
Do nothing. |
Function | function |
Function with a deprecated keyword parameter. |
Class | _ |
Mock of twisted.python.deprecate._DeprecatedAttribute . |
@deprecatedKeywordParameter( Version( 'Twisted', 19, 2, 0), 'foo')
def functionWithDeprecatedParameter(a, b, c=1, foo=2, bar=3): (source) ¶
def functionWithDeprecatedParameter(a, b, c=1, foo=2, bar=3): (source) ¶
Function with a deprecated keyword parameter.