def METHOD_NAME(cls):
    super().METHOD_NAME()
    # Try to set up a loop device so that there's at least one block
    # device.
    try:
        cls.loop = cls._losetup()
    except OSError:
        cls.loop = None