def METHOD_NAME(self) -> None:
    """
    Test helpers cannot enable/disable progress bars when
    `HF_HUB_DISABLE_PROGRESS_BARS` is set.
    """
    enable_progress_bars()
    self.assertFalse(are_progress_bars_disabled())
    with self.assertWarns(UserWarning):
        disable_progress_bars()
    self.assertFalse(are_progress_bars_disabled())  # Still enabled !