code: def test_report_watchdog_availability_mac(self):
      with patch(
          "streamlit.watcher.path_watcher.watchdog_available", new=False
      ), patch("streamlit.env_util.IS_DARWIN", new=True), patch(
          "click.secho"
      ) as mock_echo:
          streamlit.watcher.path_watcher.report_watchdog_availability()
  
      msg = "\n  $ xcode-select --install"
      calls = [
          call(
              "  %s"
              % "For better performance, install the Watchdog module:",
              fg="blue",
              bold=True,
          ),
          call(
              """%s
    $ pip install watchdog
              """
              % msg
          ),
      ]
      mock_echo.assert_has_calls(calls)
  
file_path: streamlit/lib/tests/streamlit/watcher/path_watcher_test.py
imports: import unittest
  from unittest.mock import Mock, call, patch
  import streamlit.watcher.path_watcher
  from streamlit.watcher.path_watcher import NoOpPathWatcher, get_default_path_watcher_class, watch_dir, watch_file
  from tests.testutil import patch_config_options
label_desc: Use image node_id 1 for calling the FileWatcherTest obj's underlying member method code with example usage: obj.test_report_watchdog_availability_mac() without return types