code: def test_package_dependency_fill_non_missing_version():
      pd = PackageDependency("mymod", "1.2.3rc4")
      pd.fill_missing_version()
      assert pd.version == "1.2.3rc4"
  
imports: import os.path
  import os
  from pathlib import Path
  import mock
  import pytest
  from sacred.dependencies import PEP440_VERSION_PATTERN, PackageDependency, Source, gather_sources_and_dependencies, get_digest, get_py_file_if_possible, is_local_source
  import sacred.optional
label_desc: Use image node_id 13 for calling a global function with example usage: test_package_dependency_fill_non_missing_version() without return types