Docs: monkeypatch.setenv does not accept bool
This commit is contained in:
parent
6740fb9da6
commit
3989a9bb05
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue