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 519120f commit 4b5654dCopy full SHA for 4b5654d
src/_pytest/capture.py
@@ -177,7 +177,7 @@ def name(self) -> str:
177
def mode(self) -> str:
178
# TextIOWrapper doesn't expose a mode, but at least some of our
179
# tests check it.
180
- assert hasattr(self.buffer, 'mode')
+ assert hasattr(self.buffer, "mode")
181
return cast(str, self.buffer.mode.replace("b", ""))
182
183
0 commit comments