google.appengine.runtime.context.ctx_test_util.set_both

Write to both legacy context (os.environ) and new contextvars.