code: def test_invalid_fit_options(data):
      y, x = data
      with pytest.raises(ValueError, match="kernel is not a "):
          DynamicOLS(y, x).fit(kernel="unknown")
      with pytest.raises(ValueError, match="Unknown cov_type"):
          DynamicOLS(y, x).fit(cov_type="unknown")
  
file_path: arch/arch/tests/unitroot/test_dynamic_ols.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from arch.unitroot.cointegration import DynamicOLS
label_desc: Use image node_id 5 for calling a global function with example usage: test_invalid_fit_options(data) without return types