Open zxyviopond opened 6 years ago
I've found that using the pytest monkeypatch.delenv("ENVVAR")
works well for this.
https://docs.pytest.org/en/latest/reference.html#_pytest.monkeypatch.MonkeyPatch.delenv
Development moved to https://github.com/pytest-dev/pytest-env
Run from a script probably work but I hope to have it more convenient to delete a env variable