Skip to content

Commit 4b5654d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 519120f commit 4b5654d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def name(self) -> str:
177177
def mode(self) -> str:
178178
# TextIOWrapper doesn't expose a mode, but at least some of our
179179
# tests check it.
180-
assert hasattr(self.buffer, 'mode')
180+
assert hasattr(self.buffer, "mode")
181181
return cast(str, self.buffer.mode.replace("b", ""))
182182

183183

0 commit comments

Comments
 (0)