def test_init_empty_state(empty_state: State):
  """Test initialization with an empty state."""
  ctx = CodeExecutorContext(empty_state)
  assert ctx._context == {}
  assert ctx._session_state is empty_state
Test initialization with an empty state.
tests/unittests/code_executors/test_code_executor_context.py