code: def test_sort_stats_int(self):
      valid_args = {
          -1: "stdname",
          0: "calls",
          1: "time",
          2: "cumulative",
      }
      for arg_int, arg_str in valid_args.items():
          self.stats.sort_stats(arg_int)
          self.assertEqual(
              self.stats.sort_type,
              self.stats.sort_arg_dict_default[arg_str][-1],
          )
  
imports: import unittest
  from test import support
  from io import StringIO
  from pstats import SortKey
  from enum import StrEnum, _test_simple_enum
  import os
  import pstats
  import tempfile
  import cProfile
label_desc: Use image node_id 6 for calling the StatsTestCase obj's underlying member method code with example usage: obj.test_sort_stats_int() without return types