fix setenv prepend docs (#5658)

fix setenv prepend docs
This commit is contained in:
Bruno Oliveira 2019-07-24 20:11:05 -03:00 committed by GitHub
commit 50c7b5d2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ environment variable is missing, or to set multiple values to a known variable.
:py:meth:`monkeypatch.setenv` and :py:meth:`monkeypatch.delenv` can be used for
these patches.
4. Use ``monkeypatch.setenv("PATH", value, prepend=True)`` to modify ``$PATH``, and
4. Use ``monkeypatch.setenv("PATH", value, prepend=os.pathsep)`` to modify ``$PATH``, and
:py:meth:`monkeypatch.chdir` to change the context of the current working directory
during a test.