MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_capturing_readouterr_unicode

Method test_capturing_readouterr_unicode

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

Source from the content-addressed store, hash-verified

1108 assert capture_result.err == "world"
1109
1110 def test_capturing_readouterr_unicode(self) -> None:
1111 with self.getcapture() as cap:
1112 print("hxąć")
1113 out, err = cap.readouterr()
1114 assert out == "hxąć\n"
1115
1116 def test_reset_twice_error(self) -> None:
1117 with self.getcapture() as cap:

Callers

nothing calls this directly

Calls 2

getcaptureMethod · 0.95
readouterrMethod · 0.45

Tested by

no test coverage detected