MCPcopy
hub / github.com/pytest-dev/pytest / test_capturing_readouterr_unicode

Method test_capturing_readouterr_unicode

testing/test_capture.py:1189–1193  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1187 assert capture_result.err == "world"
1188
1189 def test_capturing_readouterr_unicode(self) -> None:
1190 with self.getcapture() as cap:
1191 print("hxąć")
1192 out, _err = cap.readouterr()
1193 assert out == "hxąć\n"
1194
1195 def test_reset_twice_error(self) -> None:
1196 with self.getcapture() as cap:

Callers

nothing calls this directly

Calls 2

getcaptureMethod · 0.95
readouterrMethod · 0.45

Tested by

no test coverage detected