From 6a70cb53971a19f2d9e71d5ee24bfb0e844b4d9d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 18 Aug 2015 12:46:03 -0400 Subject: Refs #19973 -- Removed optparse support in management commands per deprecation timeline. --- docs/topics/testing/advanced.txt | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'docs/topics/testing') 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 ~~~~~~~ -- cgit v1.3