diff options
| author | Tim Graham <timograham@gmail.com> | 2015-08-18 12:46:03 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-23 19:31:10 -0400 |
| commit | 6a70cb53971a19f2d9e71d5ee24bfb0e844b4d9d (patch) | |
| tree | a12774fd9787b8f8b4581daca60de6beacf8e943 /docs/topics/testing | |
| parent | 3bbebd06adc36f31877a9c0af6c20c5b5a71a900 (diff) | |
Refs #19973 -- Removed optparse support in management commands per deprecation timeline.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index eacc04c6d6..f2a2b103fc 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -417,10 +417,6 @@ execute and tear down the test suite. .. versionchanged:: 1.8 - Previously, you had to provide an ``option_list`` attribute to a - subclassed test runner to add options to the list of command-line - options that the :djadmin:`test` command could use. - The ``keepdb``, ``reverse``, and ``debug_sql`` arguments were added. Attributes @@ -448,18 +444,6 @@ Attributes By default it is set to ``unittest.defaultTestLoader``. You can override this attribute if your tests are going to be loaded in unusual ways. -.. attribute:: DiscoverRunner.option_list - - This is the tuple of ``optparse`` options which will be fed into the - management command's ``OptionParser`` for parsing arguments. See the - documentation for Python's ``optparse`` module for more details. - - .. deprecated:: 1.8 - - You should now override the :meth:`~DiscoverRunner.add_arguments` class - method to add custom arguments accepted by the :djadmin:`test` - management command. - Methods ~~~~~~~ |
