def METHOD_NAME(
    self,
) -> Generator["defer.Deferred[object]", object, None]:
    sentinel_context = current_context()
    with LoggingContext("one"):
        d1 = make_deferred_yieldable(_chained_deferred_function())
        # make sure that the context was reset by make_deferred_yieldable
        self.assertIs(current_context(), sentinel_context)
        yield d1
        # now it should be restored
        self._check_test_key("one")