code: def test_font():
      font = pv.parse_font_family("times")
      assert font == vtk.VTK_TIMES
      with pytest.raises(ValueError):
          pv.parse_font_family("not a font")
  
imports: import os
  import pytest
  import vtk
  import pyvista
  from pyvista import colors
  from pyvista.examples.downloads import download_file
  from pyvista.plotting.themes import DarkTheme, Theme, _set_plot_theme_from_env
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 12 for calling a global function with example usage: test_font() without return types