old_contents: import pytest
  from srsly import cloudpickle as pickle
  
  
  @pytest.mark.xfail
  def test_pickle():
      from thinc.layers.featureextractor import FeatureExtractor
  
      model = FeatureExtractor([100, 200])
      bytes_data = pickle.dumps(model)
      loaded = pickle.loads(bytes_data)
      assert loaded.attrs == model.attrs
  
new_contents: import pytest
  from srsly import cloudpickle as pickle
  from thinc.layers.featureextractor import FeatureExtractor
  
  
  def test_pickle():
      model = FeatureExtractor([100, 200])
      bytes_data = pickle.dumps(model)
      loaded = pickle.loads(bytes_data)
      assert loaded._attrs == model._attrs
  
subject: Fix test