def test_issue2482():
    """Test we can serialize and deserialize a blank NER or parser model."""
    nlp = Italian()
    nlp.add_pipe("ner")
    b = nlp.to_bytes()
    Italian().from_bytes(b)
Test we can serialize and deserialize a blank NER or parser model.
spacy/tests/serialize/test_serialize_language.py