Force consistent terminal output.
(monkeypatch: pytest.MonkeyPatch)
| 325 | |
| 326 | @pytest.fixture |
| 327 | def consistent_terminal_output(monkeypatch: pytest.MonkeyPatch): |
| 328 | """Force consistent terminal output.""" |
| 329 | monkeypatch.setenv("COLUMNS", "80") |
| 330 | monkeypatch.setenv("TERM", "dumb") |
| 331 | monkeypatch.setenv("LC_ALL", "C") |
| 332 | monkeypatch.setenv("LANG", "C") |
| 333 | monkeypatch.setenv("NO_COLOR", "1") |
| 334 | monkeypatch.setenv("PAGER", "cat") |
nothing calls this directly
no outgoing calls
no test coverage detected