code: def test_update_changelog():
      changelog_file = (
          Path(__file__).parent.parent.parent.parent / "CHANGELOG.md"
      )
      cur_text = changelog_file.read_text()
      new_text = replace_issue_number_with_links(cur_text)
      if cur_text != new_text:
          changelog_file.write_text(new_text)
  
imports: import re
  import sys
  from pathlib import Path
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_update_changelog() without return types