'Verify that the "py-up" command works'

@unittest.skipUnless(HAS_PYUP_PYDOWN, 'test    requires    py-up/py-down    commands')
def test_pyup_command(self):

    bt = self.get_stack_trace(script=self.get_sample_script(), cmds_after_breakpoint=['py-up'])
    self.assertMultilineMatches(bt, '^.*\n#[0-9]+    Frame    0x[0-9a-f]+,    for    file    .*gdb_sample.py,    line    7,    in    bar    \\(a=1,    b=2,    c=3\\)\n                baz\\(a,    b,    c\\)\n$')
