'Test corner cases in flash_paren_event and paren_closed_event.
These cases force conditional expression and alternate paths.'

def test_paren_corner(self):

    text = self.text
    pm = self.get_parenmatch()
    text.insert('insert', '#    this    is    a    commen)')
    pm.paren_closed_event('event')
    text.insert('insert', '\ndef')
    pm.flash_paren_event('event')
    pm.paren_closed_event('event')
    text.insert('insert', '    a,    *arg)')
    pm.paren_closed_event('event')
