code: def test_profiler_raises():
      ret = fun_frame(1)
      assert not ret.success
      assert not bool(ret)
      assert ret.exception is not None
      assert isinstance(ret.exception, ProfileException)
  
file_path: tslumen/tests/unit/profile/test_base.py
imports: import pytest
  from typing import Union
  from dataclasses import is_dataclass
  from datetime import datetime
  import pandas
  from tslumen.profile.base import ProfileException, ProfileResult, ProfilingFunction, BundledProfiler, BundledResult, valid_timeseries
label_desc: Use image node_id 12 for calling a global function with example usage: test_profiler_raises() without return types