def METHOD_NAME(self, kernel, name, sass):
    # Ensure function appears in output
    seen_function = False
    for line in sass.split():
        if '.text' in line and name in line:
            seen_function = True
    self.assertTrue(seen_function)
    self.assertRegex(sass, r'//## File ".*/test_inspect.py", line [0-9]')
    # Some instructions common to all supported architectures that should
    # appear in the output
    self.assertIn('S2R', sass)   # Special register to register
    self.assertIn('BRA', sass)   # Branch
    self.assertIn('EXIT', sass)  # Exit program