diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:17:32 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:17:32 +0100 |
| commit | 79e1d6ebd70898d514a44b85648e3d24104c4243 (patch) | |
| tree | 68e29f7043e270c4716f7fc8a3c53ae6ba92bf0f /docs/topics/testing | |
| parent | 5f9790072d52443aff9a0e04f1552f1e29489521 (diff) | |
Don't show `self` in the list of arguments of a method.
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].
[1] http://sphinx-doc.org/markup/desc.html#dir-method
Refs #21855.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index a51c0e3ad8..8db371f7b6 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1241,7 +1241,7 @@ your test suite. failure. Similar to unittest's :meth:`~unittest.TestCase.assertRaisesRegexp` with the difference that ``expected_message`` isn't a regular expression. -.. method:: SimpleTestCase.assertFieldOutput(self, fieldclass, valid, invalid, field_args=None, field_kwargs=None, empty_value=u'') +.. method:: SimpleTestCase.assertFieldOutput(fieldclass, valid, invalid, field_args=None, field_kwargs=None, empty_value=u'') Asserts that a form field behaves correctly with various inputs. |
