code: def test_raised_provide_session(self):
      with pytest.raises(
          ValueError, match="Function .*dummy has no `session` argument"
      ):
  
          @provide_session
          def dummy():
              pass
  
file_path: airflow/tests/utils/test_session.py
imports: from __future__ import annotations
  import pytest
  from airflow.utils.session import provide_session
label_desc: Use image node_id 2 for calling the TestSession obj's underlying member method code with example usage: obj.test_raised_provide_session() without return types