code: def test_jupyter_renderer_mimetype(chart, renderer="jupyter"):
      """Test that we get the expected widget mimetype when the jupyter renderer is enabled"""
      with alt.renderers.enable(renderer):
          assert (
              "application/vnd.jupyter.widget-view+json"
              in chart._repr_mimebundle_(None, None)[0]
          )
  
file_path: altair/tests/vegalite/v5/test_renderers.py
imports: import json
  import pytest
  import altair.vegalite.v5
label_desc: Use image node_id 5 for calling a global function with example usage: test_jupyter_renderer_mimetype(chart, renderer) without return types