def METHOD_NAME(self):
    # Smoke test that we get at least one register and that
    # StackFrame.registers() agrees with StackFrame.register().
    with fork_and_sigwait() as pid:
        trace = self.prog.stack_trace(pid)
        have_registers = False
        for frame in trace:
            for name, value in frame.registers().items():
                self.assertEqual(frame.register(name), value)
                have_registers = True
        self.assertTrue(have_registers)