code: def test_no_unset_point_release_fix_version():
      # ARROW-6915: We have had the problem of issues marked with a point release
      # having their fix versions overwritten by the merge tool. This verifies
      # that existing patch release versions are carried over
      status = FakeStatus("In Progress")
  
      versions_json = {
          "0.14.2": {"name": "0.14.2", "id": 1},
          "0.15.1": {"name": "0.15.1", "id": 2},
          "0.16.0": {"name": "0.16.0", "id": 3},
          "0.17.0": {"name": "0.17.0", "id": 4},
      }
  
      fields = FakeFields(
          status,
          "summary",
          FakeAssignee("someone"),
          [FakeComponent("Java")],
          [
              FakeVersion(v, versions_json[v])
              for v in ["0.17.0", "0.15.1", "0.14.2"]
          ],
      )
      issue = FakeIssue(fields)
  
      jira = FakeJIRA(
          issue=issue,
          project_versions=[
              FakeVersion(v, vdata)
              for v, vdata in versions_json.items()
          ],
          transitions=TRANSITIONS,
      )
  
      issue = merge_arrow_pr.JiraIssue(
          jira, "ARROW-1234", "ARROW", FakeCLI()
      )
      issue.resolve("0.16.0", "a comment")
  
      assert jira.captured_transition == {
          "jira_id": "ARROW-1234",
          "transition_id": 1,
          "comment": "a comment",
          "fixVersions": [
              versions_json[v] for v in ["0.16.0", "0.15.1", "0.14.2"]
          ],
      }
  
      issue.resolve([versions_json["0.15.1"]], "a comment")
  
      assert jira.captured_transition == {
          "jira_id": "ARROW-1234",
          "transition_id": 1,
          "comment": "a comment",
          "fixVersions": [
              versions_json[v] for v in ["0.15.1", "0.14.2"]
          ],
      }
  
imports: from collections import namedtuple
  import pytest
  import merge_arrow_pr
label_desc: Use image node_id 11 for calling a global function with example usage: test_no_unset_point_release_fix_version() without return types