@pytest.mark.models
def test_consistency_bug(EN):
 tokens = EN(u'Where rap essentially went mainstream, illustrated by seminal Public Enemy, Beastie Boys and L.L. Cool J. tracks.')
 tokens = EN(u'Charity and other short-term aid have buoyed them so far, and a tax-relief bill working its way through Congress would help. But the September 11 Victim Compensation Fund, enacted by Congress to discourage people from filing lawsuits, will determine the shape of their lives for years to come.\n\n', entity=False)
 tokens.ents += tuple(EN.matcher(tokens))
 EN.entity(tokens)

@ pytest . mark . models def test_consistency_bug ( EN ) : tokens = EN ( u'Where rap essentially went mainstream, illustrated by seminal Public Enemy, Beastie Boys and L.L. Cool J. tracks.' ) tokens = EN ( u'Charity and other short-term aid have buoyed them so far, and a tax-relief bill working its way through Congress would help. But the September 11 Victim Compensation Fund, enacted by Congress to discourage people from filing lawsuits, will determine the shape of their lives for years to come.\n\n' , entity = False ) tokens . ents += tuple ( EN . matcher ( tokens ) ) EN . entity ( tokens )
test an arbitrary sequence-consistency bug encountered during speed test .