Docs: monkeypatch.setenv does not accept bool

This commit is contained in:
Adam J. Stewart 2021-07-08 12:21:30 -05:00
parent 6740fb9da6
commit 3989a9bb05
No known key found for this signature in database
GPG Key ID: C66C0675661156FC
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def monkeypatch() -> Generator["MonkeyPatch", None, None]:
monkeypatch.delattr(obj, name, raising=True)
monkeypatch.setitem(mapping, name, value)
monkeypatch.delitem(obj, name, raising=True)
monkeypatch.setenv(name, value, prepend=False)
monkeypatch.setenv(name, value, prepend=os.pathsep)
monkeypatch.delenv(name, raising=True)
monkeypatch.syspath_prepend(path)
monkeypatch.chdir(path)