From 05d36dc06e6d767bb28993c65a54b703f319a386 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Wed, 22 Jan 2014 22:26:10 +0100 Subject: Always use parentheses when documenting a method with no arguments. --- docs/topics/testing/tools.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/topics/testing') diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 8db371f7b6..49d4c10bbb 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1036,7 +1036,7 @@ If ``multi_db=True``, fixtures are loaded into all databases. Overriding settings ~~~~~~~~~~~~~~~~~~~ -.. method:: SimpleTestCase.settings +.. method:: SimpleTestCase.settings() For testing purposes it's often useful to change a setting temporarily and revert to the original value after running the testing code. For this use case @@ -1061,7 +1061,7 @@ Django provides a standard Python context manager (see :pep:`343`) called This example will override the :setting:`LOGIN_URL` setting for the code in the ``with`` block and reset its value to the previous state afterwards. -.. method:: SimpleTestCase.modify_settings +.. method:: SimpleTestCase.modify_settings() .. versionadded:: 1.7 -- cgit v1.3