MCPcopy Create free account
hub / github.com/pexpect/pexpect / test_crlf_encoding

Method test_crlf_encoding

tests/test_popen_spawn.py:132–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 assert p.read() == b'alpha beta' + p.crlf
131
132 def test_crlf_encoding(self):
133 p = PopenSpawn('echo alpha beta', encoding='utf-8')
134 assert p.read() == 'alpha beta' + p.crlf
135
136if __name__ == '__main__':
137 unittest.main()

Callers

nothing calls this directly

Calls 2

PopenSpawnClass · 0.90
readMethod · 0.80

Tested by

no test coverage detected