code: def test_jira_fix_versions_filters_maintenance():
      maintenance_branches = ["maint-0.9.0"]
      jira = FakeJIRA(
          project_versions=SOURCE_VERSIONS, transitions=TRANSITIONS
      )
  
      issue = merge_arrow_pr.JiraIssue(
          jira, "ARROW-1234", "ARROW", FakeCLI()
      )
      fix_version = merge_arrow_pr.get_candidate_fix_version(
          issue.current_versions,
          maintenance_branches=maintenance_branches,
      )
      assert fix_version == "0.10.0"
  
imports: from collections import namedtuple
  import pytest
  import merge_arrow_pr
label_desc: Use image node_id 2 for calling a global function with example usage: test_jira_fix_versions_filters_maintenance() without return types