@pytest.mark.parametrize('text, deleted, rest', [fixme(('test foobar| delete', ' delete', 'test foobar|')), ('test foobar| delete', ' ', 'test foobar|delete'), fixme(('test foo|delete bar', 'delete', 'test foo| bar')), ('test foo|delete bar', 'delete ', 'test foo|bar'), fixme(('test foo<bar> delete', ' delete', 'test foobar|')), ('test foo<bar>delete', 'bardelete', 'test foo|')])
def test_rl_kill_word(lineedit, bridge, text, deleted, rest):
 _validate_deletion(lineedit, bridge, bridge.rl_kill_word, text, deleted, rest)

@ pytest . mark . parametrize ( 'text, deleted, rest' , [ fixme ( ( 'test foobar| delete' , ' delete' , 'test foobar|' ) ) , ( 'test foobar| delete' , ' ' , 'test foobar|delete' ) , fixme ( ( 'test foo|delete bar' , 'delete' , 'test foo| bar' ) ) , ( 'test foo|delete bar' , 'delete ' , 'test foo|bar' ) , fixme ( ( 'test foo<bar> delete' , ' delete' , 'test foobar|' ) ) , ( 'test foo<bar>delete' , 'bardelete' , 'test foo|' ) ] ) def test_rl_kill_word ( lineedit , bridge , text , deleted , rest ) : _validate_deletion ( lineedit , bridge , bridge . rl_kill_word , text , deleted , rest )
delete to word end and see if it comes back with yank .