Skip to content

Commit cb2c1d2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 40b7114 commit cb2c1d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

testing/io/test_terminalwriter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,11 @@ def test_NO_COLOR_and_FORCE_COLOR(
221221
monkeypatch.setitem(os.environ, "FORCE_COLOR", FORCE_COLOR)
222222
assert_color(expected)
223223

224+
224225
@pytest.mark.skipif(
225226
os.environ["TERM"] == "dumb" or "NO_COLOR" in os.environ,
226-
reason="dumb terminals can't handle color"
227-
)
227+
reason="dumb terminals can't handle color",
228+
)
228229
def test_empty_NO_COLOR_and_FORCE_COLOR_ignored(monkeypatch: MonkeyPatch) -> None:
229230
monkeypatch.setitem(os.environ, "NO_COLOR", "")
230231
monkeypatch.setitem(os.environ, "FORCE_COLOR", "")

0 commit comments

Comments
 (0)