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

Method __enter__

tests/utils/device_simulator.py:274–276  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272 return getattr(self, "_frame_generator", None)
273
274 def __enter__(self):
275 self.start()
276 return self
277
278 def __exit__(self, exc_type, exc_val, exc_tb):
279 self.stop()

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected