code: def test_statistics(path_rgb_byte_tif):
      """Compute, store, and return basic statistics."""
      with rasterio.open(path_rgb_byte_tif) as dataset:
          stats = dataset.statistics(1)
          assert stats.min == 0
          assert stats.max == 255
          assert_almost_equal(stats.mean, 29.947726688477)
          assert_almost_equal(stats.std, 52.340921626611)
  
imports: from numpy.testing import assert_almost_equal
  import pytest
  import rasterio
  from rasterio.errors import RasterioError
label_desc: Use image node_id 1 for calling a global function with example usage: test_statistics(path_rgb_byte_tif) without return types