code: def test_shapes_precision(runner, pixelated_image_file):
      """Output numbers should have no more than 1 decimal place"""
  
      result = runner.invoke(
          main_group,
          [
              "shapes",
              "--collection",
              pixelated_image_file,
              "--precision",
              1,
          ],
      )
  
      assert result.exit_code == 0
      assert result.output.count('"FeatureCollection"') == 1
      assert result.output.count('"Feature"') == 4
      assert re.search(r"\s\d*\.\d{2,}", result.output) is None
  
file_path: rasterio/tests/test_rio_shapes.py
imports: import json
  import re
  import numpy
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 10 for calling a global function with example usage: test_shapes_precision(runner, pixelated_image_file) without return types