Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Train] Monkeypatch environment variables in
test_json
(ray-project…
…#21260) If we use `os.environ` to set environment variables in tests, then our tests become coupled. By using `monkeypatch`, we can safely set environment variables while ensuring our tests remain decoupled. For more information, see the [monkeypatching documentation](https://docs.pytest.org/en/6.2.x/monkeypatch.html#monkeypatching-environment-variables).
- Loading branch information