code: def test_nan_behaviour_error_transform(df_enc_big, df_enc_big_na):
      encoder = StringSimilarityEncoder(missing_values="raise")
      encoder.fit(df_enc_big)
      with pytest.raises(ValueError):
          encoder.transform(df_enc_big_na)
  
imports: from difflib import SequenceMatcher
  import pandas
  import pytest
  from feature_engine.encoding import StringSimilarityEncoder
  from feature_engine.encoding.similarity_encoder import _gpm_fast
label_desc: Use image node_id 6 for calling a global function with example usage: test_nan_behaviour_error_transform(df_enc_big, df_enc_big_na) without return types