☰
Debian Codegraph
@
15.0.0-2
15.0.0-1
/
/
tests
/
conftest.py
☽
☼
tests/conftest.py
code
plain
raw
MIT
2020 Will McGugan
debian/copyright
1
import pytest
2
3
4
@pytest.fixture(autouse=True)
5
def reset_color_envvars(monkeypatch):
6
"""Remove color-related envvars to fix test output"""
7
monkeypatch.delenv("FORCE_COLOR", raising=False)
8
monkeypatch.delenv("NO_COLOR", raising=False)