jenkins-bot submitted this change.

View Change

Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
[tests] remove `PYWIKIBOT_TEST_WRITE_FAIL` from documentation

Change-Id: Ieec6c02cc3e22925647049750cc87e02c256935e
---
M tests/README.rst
1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/tests/README.rst b/tests/README.rst
index 53a0784..7c82899 100644
--- a/tests/README.rst
+++ b/tests/README.rst
@@ -145,18 +145,11 @@

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 @@

pwb PYWIKIBOT_TEST_WRITE script_tests -v TestScriptSimulate.test_archivebot

-.. versionremoved:: 9.5
- The :envvar:`PYWIKIBOT_TEST_GUI` environment variable.
-
Decorators
==========


To view, visit change 1079658. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ieec6c02cc3e22925647049750cc87e02c256935e
Gerrit-Change-Number: 1079658
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot