code: def test_version(fake_issue_tracker):
      v = Version.parse("1.2.5")
      assert str(v) == "1.2.5"
      assert v.major == 1
      assert v.minor == 2
      assert v.patch == 5
      assert v.released is False
      assert v.release_date is None
  
      v = Version.parse(
          "1.0.0", released=True, release_date="2020-01-01"
      )
      assert str(v) == "1.0.0"
      assert v.major == 1
      assert v.minor == 0
      assert v.patch == 0
      assert v.released is True
      assert v.release_date == "2020-01-01"
  
file_path: arrow/dev/archery/archery/release/tests/test_release.py
imports: import pytest
  from archery.release.core import Release, MajorRelease, MinorRelease, PatchRelease, IssueTracker, Version, Issue, CommitTitle, Commit
  from archery.testing import DotDict
label_desc: Use image node_id 2 for calling a global function with example usage: test_version(fake_issue_tracker) without return types