'Make a valid python temp file.'

def test_run_debug_twice_with_breakpoint(self):

    _ip = get_ipython()
    with tt.fake_input(['b    2', 'c', 'c']):
        _ip.magic(('run    -d    %s' % self.fname))
    with tt.fake_input(['c']):
        with tt.AssertNotPrints('KeyError'):
            _ip.magic(('run    -d    %s' % self.fname))
