  def text_file_b():
      return BytesIO()
  
  
  # only used for tests that require loading the models
  # in all other cases, use specific instances
  @pytest.fixture(scope="session")
  def EN():
      return English()
  
  
  @pytest.fixture(scope="session")
  def DE():
      return German()
  
  @pytest.fixture(scope="session")
  def FR():
      return French()
  
  
  def pytest_addoption(parser):
      parser.addoption("--models", action="store_true",
          help="include tests that require full models")
      parser.addoption("--vectors", action="store_true",
          help="include word vectors tests")
 
</s> remove               'nl', 'pl', 'pt', 'sv']
 </s> add               'nl', 'pl', 'pt', 'sv', 'xx']
_models = {'en': ['en_core_web_sm', 'en_core_web_md'],
           'de': ['de_core_news_md'],
           'fr': ['fr_depvec_web_lg'],
           'xx': ['xx_ent_web_md']}


# only used for tests that require loading the models
# in all other cases, use specific instances

@pytest.fixture(params=_models['en'], scope="session")
def EN(request):
    return load_test_model(request.param)


@pytest.fixture(params=_models['de'], scope="session")
def DE(request):
    return load_test_model(request.param)


@pytest.fixture(params=_models['fr'], scope="session")
def FR(request):
    return load_test_model(request.param) </s> remove @pytest.fixture
def lemmatizer():
    return util.get_lang_class('en').Defaults.create_lemmatizer()


 </s> add  </s> remove def test_tokenizer_handles_long_text(en_tokenizer):
 </s> add def test_en_tokenizer_handles_long_text(en_tokenizer): </s> remove """Test that tokenizer exceptions are handled correctly."""


 </s> add  </s> remove def test_tokenizer_handles_abbr(en_tokenizer, text):
 </s> add def test_en_tokenizer_handles_abbr(en_tokenizer, text):
  def text_file_b():
      return BytesIO()
  
  
















  def pytest_addoption(parser):
      parser.addoption("--models", action="store_true",
          help="include tests that require full models")
      parser.addoption("--vectors", action="store_true",
          help="include word vectors tests")
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Update model fixtures and reorganise tests 
spacy/tests/conftest.py