code: def test_obvious_usecase():
      x = np.linspace(0, 10, 100)
      X = x.reshape(-1, 1)
      y = np.ones(x.shape)
      y_pred = LowessRegression().fit(X, y).predict(X)
      assert np.isclose(y, y_pred).all()
  
imports: import numpy
  import pytest
  from sklego.common import flatten
  from sklego.linear_model import LowessRegression
  from tests.conftest import general_checks, nonmeta_checks, regressor_checks, select_tests
label_desc: Use image node_id 2 for calling a global function with example usage: test_obvious_usecase() without return types