def test_issue891(en_tokenizer, text):
    """Test that / infixes are split correctly."""
    tokens = en_tokenizer(text)
    assert len(tokens) == 3
    assert tokens[1].text == "/"
Test that / infixes are split correctly.
spacy/tests/lang/en/test_tokenizer.py