MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / open

Method open

tests/utils/virtual_serial.py:119–122  ·  view source on GitHub ↗

Open both PTY pairs.

(self)

Source from the content-addressed store, hash-verified

117 return self.bravo.device_path
118
119 def open(self) -> None:
120 """Open both PTY pairs."""
121 self.alpha.open()
122 self.bravo.open()
123
124 def close(self) -> None:
125 """Close both PTY pairs."""

Callers 4

dual_portsFunction · 0.95
__enter__Method · 0.95
generate_chirp_wavFunction · 0.45
read_wav_monoFunction · 0.45

Calls

no outgoing calls

Tested by 1

dual_portsFunction · 0.76