From d77c3018170bc2354d8f3ef8dece3e90ef381ae7 Mon Sep 17 00:00:00 2001 From: xqt Date: Sun, 13 Oct 2024 17:48:56 +0200 Subject: [PATCH] [tests] remove `PYWIKIBOT_TEST_WRITE_FAIL` from documentation Change-Id: Ieec6c02cc3e22925647049750cc87e02c256935e --- tests/README.rst | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/tests/README.rst b/tests/README.rst index 53a0784ada..7c82899b1b 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -145,18 +145,11 @@ Environment variables PYWIKIBOT_TEST_WRITE=1 -**PYWIKIBOT_TEST_WRITE_FAIL** - There are a set of 'edit failure' tests, which attempt to write to the wikis - and **should** fail. If there is a bug in pywikibot or MediaWiki, these - tests **may** actually perform a write operation. - - To enable 'edit failure' tests, set:: - - PYWIKIBOT_TEST_WRITE_FAIL=1 - - .. deprecated:: 9.2 - this environment variable no longer has any effect; use - :envvar:`PYWIKIBOT_TEST_WRITE` instead. +.. versionremoved:: 9.2 + The :envvar:`PYWIKIBOT_TEST_WRITE_FAIL` environment variable; use + :envvar:`PYWIKIBOT_TEST_WRITE` instead. +.. versionremoved:: 9.5 + The :envvar:`PYWIKIBOT_TEST_GUI` environment variable. Instead of setting the environment by the os (or `os.environ` as well) you can use the :mod:`pwb` wrapper script to set it:: @@ -167,9 +160,6 @@ The assignment can be omitted and defaults to 1. The following is equal to the l pwb PYWIKIBOT_TEST_WRITE script_tests -v TestScriptSimulate.test_archivebot -.. versionremoved:: 9.5 - The :envvar:`PYWIKIBOT_TEST_GUI` environment variable. - Decorators ==========