diff --git a/spacy/tests/parser/test_ner.py b/spacy/tests/parser/test_ner.py index 7199e229f..897d82936 100644 --- a/spacy/tests/parser/test_ner.py +++ b/spacy/tests/parser/test_ner.py @@ -89,6 +89,9 @@ def test_get_oracle_moves_negative_O(tsys, vocab): assert names +# We can't easily represent this on a Doc object. Not sure what the best solution +# would be, but I don't think it's an important use case? +@pytest.mark.xfail(reason="No longer supported") def test_oracle_moves_missing_B(en_vocab): words = ["B", "52", "Bomber"] biluo_tags = [None, None, "L-PRODUCT"] @@ -111,7 +114,9 @@ def test_oracle_moves_missing_B(en_vocab): moves.add_action(move_types.index("U"), label) moves.get_oracle_sequence(example) - +# We can't easily represent this on a Doc object. Not sure what the best solution +# would be, but I don't think it's an important use case? +@pytest.mark.xfail(reason="No longer supported") def test_oracle_moves_whitespace(en_vocab): words = ["production", "\n", "of", "Northrop", "\n", "Corp.", "\n", "'s", "radar"] biluo_tags = ["O", "O", "O", "B-ORG", None, "I-ORG", "L-ORG", "O", "O"]