code: def test_find_under_heading_ipv6(self):
      # bpo-39991: IPv6 address "fe80::5054:ff:fe9" looks like a MAC address
      # (same string length) but must be skipped
      data = """\
  Name    Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll
  vtnet  1500 <Link#1>      52:54:00:9d:0e:67    10017     0     0     8174     0     0
  vtnet     - fe80::%vtnet0 fe80::5054:ff:fe9        0     -     -        4     -     -
  vtnet     - 192.168.122.0 192.168.122.45        8844     -     -     8171     -     -
  lo0   16384 <Link#2>      lo0                 260148     0     0   260148     0     0
  lo0       - ::1/128       ::1                    193     -     -      193     -     -
                            ff01::1%lo0
                            ff02::2:2eb7:74fa
                            ff02::2:ff2e:b774
                            ff02::1%lo0
                            ff02::1:ff00:1%lo
  lo0       - fe80::%lo0/64 fe80::1%lo0              0     -     -        0     -     -
                            ff01::1%lo0
                            ff02::2:2eb7:74fa
                            ff02::2:ff2e:b774
                            ff02::1%lo0
                            ff02::1:ff00:1%lo
  lo0       - 127.0.0.0/8   127.0.0.1           259955     -     -   259955     -     -
                            224.0.0.1
  """
  
      with mock.patch.multiple(
          self.uuid,
          _MAC_DELIM=b":",
          _MAC_OMITS_LEADING_ZEROES=False,
          _get_command_stdout=mock_get_command_stdout(data),
      ):
          mac = self.uuid._find_mac_under_heading(
              command="netstat",
              args="-ian",
              heading=b"Address",
          )
  
      self.assertEqual(mac, 0x5254009D0E67)
  
imports: import unittest
  from test import support
  from test.support import import_helper
  import builtins
  import contextlib
  import copy
  import enum
  import io
  import os
  import pickle
  import sys
  import weakref
  from unittest import mock
label_desc: Use image node_id 5 for calling the BaseTestInternals obj's underlying member method code with example usage: obj.test_find_under_heading_ipv6() without return types