def test_mouse_key_events():
 me = MouseEvent('mouse_press')
 for fun in (me.pos, me.button, me.buttons, me.modifiers, me.delta, me.press_event, me.last_event, me.is_dragging):
  fun
 me.drag_events()
 me._forget_last_event()
 me.trail()
 ke = KeyEvent('key_release')
 ke.key
 ke.text
 ke.modifiers

def test_mouse_key_events ( ) : me = MouseEvent ( 'mouse_press' ) for fun in ( me . pos , me . button , me . buttons , me . modifiers , me . delta , me . press_event , me . last_event , me . is_dragging ) : fun me . drag_events ( ) me . _forget_last_event ( ) me . trail ( ) ke = KeyEvent ( 'key_release' ) ke . key ke . text ke . modifiers
test mouse and key events .