  import io
  import pickle
  
  from spacy.lemmatizer import Lemmatizer, read_index, read_exc
  from spacy import util
  
 
</s> remove     return util.match_best_version('en', None,
                os.environ.get('SPACY_DATA', util.get_data_path()))
 </s> add     if 'SPACY_DATA' in os.environ:
        return pathlib.Path(os.environ['SPACY_DATA'])
    else:
        return util.match_best_version('en', None, util.get_data_path())
import pathlib
  import io
  import pickle
import pathlib
  
  from spacy.lemmatizer import Lemmatizer, read_index, read_exc
  from spacy import util
  
keep add keep keep keep keep
 Use local path in test_lemmatizer 
spacy/tests/tagger/test_lemmatizer.py