code: def test_threshold_value_error(df_na):
      with pytest.raises(ValueError):
          DropMissingData(threshold=1.01)
  
      with pytest.raises(ValueError):
          DropMissingData(threshold=-0.01)
  
      with pytest.raises(ValueError):
          DropMissingData(threshold=0)
  
file_path: feature_engine/tests/test_imputation/test_drop_missing_data.py
imports: import pytest
  from feature_engine.imputation import DropMissingData
label_desc: Use image node_id 7 for calling a global function with example usage: test_threshold_value_error(df_na) without return types