code: def test_version_comparison():
      # version against version
      assert GDALVersion(4, 0, 0) > GDALVersion(3, 2, 1)
      assert GDALVersion(2, 0, 0) < GDALVersion(3, 2, 1)
      assert GDALVersion(3, 2, 2) > GDALVersion(3, 2, 1)
      assert GDALVersion(3, 2, 0) < GDALVersion(3, 2, 1)
  
      # tuple against version
      assert (4, 0, 0) > GDALVersion(3, 2, 1)
      assert (2, 0, 0) < GDALVersion(3, 2, 1)
      assert (3, 2, 2) > GDALVersion(3, 2, 1)
      assert (3, 2, 0) < GDALVersion(3, 2, 1)
  
file_path: Fiona/tests/test_version.py
imports: import fiona
  import platform
  import re
  import os
  import sys
  from tests.conftest import travis_only
  from fiona._env import GDALVersion, get_gdal_release_name
label_desc: Use image node_id 2 for calling a global function with example usage: test_version_comparison() without return types