code: def test_parametrized_name_with_colons(
      self, invocation_path: Path
  ) -> None:
      ret = resolve_collection_argument(
          invocation_path, "src/pkg/test.py::test[a::b]"
      )
      assert ret == (
          invocation_path / "src/pkg/test.py",
          ["test[a::b]"],
      )
  
imports: import argparse
  import os
  import re
  import sys
  from pathlib import Path
  from typing import Optional
  import pytest
  from _pytest.config import ExitCode
  from _pytest.config import UsageError
  from _pytest.main import resolve_collection_argument
  from _pytest.main import validate_basetemp
  from _pytest.pytester import Pytester
label_desc: Use image node_id 5 for calling the TestResolveCollectionArgument obj's underlying member method code with example usage: obj.test_parametrized_name_with_colons(invocation_path) without return types