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

Method __enter__

tests/utils/virtual_serial.py:129–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127 self.bravo.close()
128
129 def __enter__(self):
130 self.open()
131 return self
132
133 def __exit__(self, *exc):
134 self.close()

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected