code: def test_failing_show_colab():
      from dtale.app import show
  
      with ExitStack() as stack:
          stack.enter_context(mock.patch("dtale.app.USE_COLAB", True))
          stack.enter_context(
              mock.patch("dtale.app.DtaleFlask.run", mock.Mock())
          )
          stack.enter_context(
              mock.patch("dtale.app.ACTIVE_PORT", 40000)
          )
          stack.enter_context(
              mock.patch("dtale.app.ACTIVE_HOST", "localhost")
          )
          stack.enter_context(
              mock.patch(
                  "dtale.app.is_up", mock.Mock(return_value=False)
              )
          )
          stack.enter_context(mock.patch("requests.get", mock.Mock()))
          instance = show(data=pd.DataFrame([1, 2, 3]))
          assert "http://localhost:40000" == instance._url
  
imports: import mock
  import pandas
  import pytest
  from tests import ExitStack, pdt
label_desc: Use image node_id 2 for calling a global function with example usage: test_failing_show_colab() without return types