def test_decorator_exceptions(self):
        """Test Halo decorator allows exceptions to bubble up"""

        @Halo(text="foo", spinner="dots", stream=self._stream)
        def decorated_function():
            raise SpecificException

        with self.assertRaises(SpecificException):
            decorated_function()
Test Halo decorator allows exceptions to bubble up
tests/test_halo.py