code: def test_function(self):
      url = _generate_url(OLS, True)
      assert url == (
          self.stable + "generated/"
          "statsmodels.regression.linear_model.OLS.html"
      )
      url = _generate_url(OLS, False)
      assert url == (
          self.devel + "generated/"
          "statsmodels.regression.linear_model.OLS.html"
      )
  
file_path: statsmodels/statsmodels/tools/tests/test_web.py
imports: import pytest
  from numpy import array
  from statsmodels.regression.linear_model import OLS
  from statsmodels.tools.web import _generate_url, webdoc
label_desc: Use image node_id 2 for calling the TestWeb obj's underlying member method code with example usage: obj.test_function() without return types