class_docstr: Test Streamlit utility functions.
class_docstr_tok: ["Test","Streamlit","utility","functions","."]
docstr: Test opening the browser on Linux with no xdg installed
docstr_tok: ["Test","opening","the","browser","on","Linux","with","no","xdg","installed"]
code: def test_open_browser_linux_no_xdg(self):
      """Test opening the browser on Linux with no xdg installed"""
      from streamlit import env_util
  
      env_util.IS_LINUX_OR_BSD = True
  
      with patch(
          "streamlit.env_util.is_executable_in_path", return_value=False
      ):
          with patch("webbrowser.open") as webbrowser_open:
              with patch("subprocess.Popen") as subprocess_popen:
                  util.open_browser("http://some-url")
                  self.assertEqual(True, webbrowser_open.called)
                  self.assertEqual(False, subprocess_popen.called)
  
file_path: streamlit/lib/tests/streamlit/util_test.py
imports: import random
  import unittest
  from typing import Dict, List, Set
  from unittest.mock import patch
  import numpy
  from parameterized import parameterized
  from streamlit import util
label_desc: Use image node_id 3 for calling the UtilTest obj's underlying member method code with example usage: obj.test_open_browser_linux_no_xdg() without return types