MCPcopy Index your code
hub / github.com/Tong89/smartNode / _engine

Function _engine

tests/test_api.py:39–43  ·  view source on GitHub ↗

函数作用域内的隔离引擎(固定种子、不启动线程)。

()

Source from the content-addressed store, hash-verified

37
38@pytest.fixture
39def _engine():
40 """函数作用域内的隔离引擎(固定种子、不启动线程)。"""
41 eng = create_engine(seed=0, autostart=False)
42 yield eng
43 eng.running = False
44
45
46@pytest.fixture

Callers

nothing calls this directly

Calls 1

create_engineFunction · 0.90

Tested by

no test coverage detected