code: def test_tagged_suffix(self):
      suffixes = self.machinery.EXTENSION_SUFFIXES
      abi_flags = "t" if support.Py_GIL_DISABLED else ""
      ver = sys.version_info
      platform = re.sub("[^a-zA-Z0-9]", "_", get_platform())
      expected_tag = (
          f".cp{ver.major}{ver.minor}{abi_flags}-{platform}.pyd"
      )
      try:
          untagged_i = suffixes.index(".pyd")
      except ValueError:
          untagged_i = suffixes.index("_d.pyd")
          expected_tag = "_d" + expected_tag
  
      self.assertIn(expected_tag, suffixes)
  
      # Ensure the tags are in the correct order.
      tagged_i = suffixes.index(expected_tag)
      self.assertLess(tagged_i, untagged_i)
  
imports: from test.test_importlib import util
  import os
  import re
  import sys
  import unittest
  from test import support
  from test.support import import_helper
  from contextlib import contextmanager
  from test.test_importlib.util import temp_module
  from winreg import CreateKey, HKEY_CURRENT_USER, SetValue, REG_SZ, KEY_ALL_ACCESS, EnumKey, CloseKey, DeleteKey, OpenKey
label_desc: Use image node_id 1 for calling the WindowsExtensionSuffixTests obj's underlying member method code with example usage: obj.test_tagged_suffix() without return types