@pytest.mark.parametrize(u'text,is_num', [(u'one', True), (u'ten', True), (u'teneleven', False)])
def test_issue759(en_tokenizer, text, is_num):
 tokens = en_tokenizer(text)
 assert (tokens[0].like_num == is_num)

@ pytest . mark . parametrize ( u'text,is_num' , [ ( u'one' , True ) , ( u'ten' , True ) , ( u'teneleven' , False ) ] ) def test_issue759 ( en_tokenizer , text , is_num ) : tokens = en_tokenizer ( text ) assert ( tokens [ 0 ] . like_num == is_num )
test that numbers are recognised correctly .