code: def test_attribute_error(self):
      class C:
          def method(self):
              return super().msg
  
      with self.assertRaisesRegex(
          AttributeError, "'super' object has no attribute 'msg'"
      ):
          C().method()
  
imports: import unittest
  from unittest.mock import patch
  from test import shadowed_super
label_desc: Use image node_id 29 for calling the TestSuper obj's underlying member method code with example usage: obj.test_attribute_error() and returns: super