We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e4c1f commit 9fdfe74Copy full SHA for 9fdfe74
1 file changed
tests/test_color.py
@@ -55,6 +55,10 @@ def test_color_environment_variables(monkeypatch: pytest.MonkeyPatch,
55
assert not bar.is_ansi_terminal
56
assert bar.enable_colors
57
58
+ monkeypatch.setenv(variable, 'false')
59
+ bar = progressbar.ProgressBar()
60
+ assert not bar.enable_colors
61
+
62
monkeypatch.setenv(variable, '')
63
bar = progressbar.ProgressBar()
64
assert not bar.enable_colors
0 commit comments