code: def test_cmp_pkg_version_1(test_ver, pkg_ver, exp_out):
      # Test version comparator
      assert cmp_pkg_version(test_ver, pkg_ver) == exp_out
  
file_path: nibabel/nibabel/tests/test_pkg_info.py
imports: import pytest
  import nibabel
  from nibabel.pkg_info import cmp_pkg_version
label_desc: Use image node_id 4 for calling a global function with example usage: test_cmp_pkg_version_1(test_ver, pkg_ver, exp_out) without return types