code: def test_minify_css():
      """Test css minifier function"""
      css = """
  /*
   * Font-sizes from config, override with care
   */
  
  .title  {
    font-family: sans;
  
    font-size:  12 ;
  }
  
  .legends .legend text {
    font-family: monospace;
    font-size: 14 ;}
  """
      assert minify_css(css) == (
          ".title{font-family:sans;font-size:12}"
          ".legends .legend text{font-family:monospace;font-size:14}"
      )
  
file_path: pygal/pygal/test/test_util.py
imports: from pytest import raises
  from pygal.util import _swap_curly, majorize, mergextend, minify_css, round_to_float, round_to_int, template, truncate
label_desc: Use image node_id 6 for calling a global function with example usage: test_minify_css() without return types