code: def test_multidigit_minor_version(self, monkeypatch):
      version_info = (3, 10, 0, "final", 0)
      monkeypatch.setattr(
          sys, "version_info", version_info, raising=False
      )
  
      monkeypatch.setattr(
          platform, "python_version", lambda: "3.10.0", raising=False
      )
      monkeypatch.setattr(
          platform,
          "python_version_tuple",
          lambda: ("3", "10", "0"),
          raising=False,
      )
  
      environment = default_environment()
      assert environment["python_version"] == "3.10"
  
imports: import collections
  import itertools
  import os
  import platform
  import sys
  from typing import cast
  import pytest
  from packaging._parser import Node
  from packaging.markers import InvalidMarker, Marker, UndefinedComparison, default_environment, format_full_version
label_desc: Use image node_id 2 for calling the TestDefaultEnvironment obj's underlying member method code with example usage: obj.test_multidigit_minor_version(monkeypatch) without return types