  from __future__ import unicode_literals
  import json
  import os
  import random
  import contextlib
  import shutil
  import pytest
 
</s> remove         nlp2 = English(path=model_dir)
 </s> add         nlp2 = Language(path=model_dir) </s> remove     nlp = English(entity=False)
    nlp.entity = EntityRecognizer(nlp.vocab, features=English.Defaults.entity_features)
 </s> add     nlp = Language(path=None, entity=False, tagger=False, parser=False)
    nlp.entity = EntityRecognizer(nlp.vocab, features=Language.Defaults.entity_features) </s> remove from ...en import English
 </s> add from ...language import Language
  from __future__ import unicode_literals

  import os
  import random
  import contextlib
  import shutil
  import pytest
keep replace keep keep keep keep keep
 Try to make test999 less flakey 
spacy/tests/regression/test_issue999.py