code: def pytest_cmdline_main(config):
      # Bail if the test raster data is not present. Test data is not
      # distributed with sdists since 0.12.
      if reduce(operator.and_, map(os.path.exists, test_files)):
          print("Test data present.")
      else:
          print(
              "Test data not present. See download directions in "
              "tests/data/README.rst"
          )
          sys.exit(1)
  
imports: import functools
  import operator
  import os
  import shutil
  import sys
  import uuid
  import zipfile
  import affine
  import boto3
  import numpy
  import pytest
  from click.testing import CliRunner
  import rasterio
  import rasterio.env
  from rasterio.coords import BoundingBox
  from rasterio.crs import CRS
  from rasterio.enums import ColorInterp
  from rasterio.env import GDALVersion
  from affine import Affine
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_cmdline_main(config) without return types