code: def test_windows_compact(runner, path_rgb_byte_tif):
      result = runner.invoke(
          main_group, ["blocks", path_rgb_byte_tif, "--compact"]
      )
      assert result.exit_code == 0
  
      assert result.output.count('"FeatureCollection') == 1
      assert result.output.count('"Feature"') == 240
      assert result.output.count('", "') == 0
      assert result.output.count(": ") == 0
  
file_path: rasterio/tests/test_rio_blocks.py
imports: from itertools import zip_longest
  import json
  import re
  import numpy
  import rasterio
  from rasterio.warp import transform_bounds
  from rasterio.rio.main import main_group
label_desc: Use image node_id 6 for calling a global function with example usage: test_windows_compact(runner, path_rgb_byte_tif) without return types