def METHOD_NAME(self):
    """Creates and returns temporary versioned bucket for testing. After the
    test, the contents of the bucket and the bucket itself will be
    deleted."""
    b = self._MakeBucket()
    b.configure_versioning(True)
    time.sleep(30)  # Ensure versioning config propagates.
    return b