code: def test_invalid_args(self, xyz_levels: XYZ_Levels) -> None:
      _, _, z, levels = xyz_levels
      with pytest.raises(
          ValueError,
          match="Unknown keyword arguments in 'from_contour': invalid_kwarg",
      ):
          from_contour(
              z=z, levels=levels, fill_color="red", invalid_kwarg=23
          )
  
imports: from __future__ import annotations
  import pytest
  from typing import TYPE_CHECKING
  import numpy
  from bokeh.plotting.contour import FillData, LineData, contour_data, from_contour
label_desc: Use image node_id 3 for calling the Test_from_contour obj's underlying member method code with example usage: obj.test_invalid_args(xyz_levels) without return types