code: def test_auto_threshold_calculation():
      """Check the results of 'auto' threshold calculation"""
      transformer = DropHighPSIFeatures(threshold="auto", bins=10)
      assert math.isclose(
          transformer._calculate_auto_threshold(N=500, M=500, q=0.999),
          0.11150865948502628,
      )
      transformer = DropHighPSIFeatures(threshold="auto", bins=32)
      assert math.isclose(
          transformer._calculate_auto_threshold(N=1000, M=1500, q=0.95),
          0.07497557213394188,
      )
      transformer = DropHighPSIFeatures(threshold="auto", bins=42)
      assert math.isclose(
          transformer._calculate_auto_threshold(N=777, M=666, q=0.99),
          0.18111345503169146,
      )
  
imports: from datetime import date
  import math
  import numpy
  import pandas
  import pytest
  from sklearn.datasets import make_classification
  from feature_engine.selection import DropHighPSIFeatures
label_desc: Use image node_id 4 for calling a global function with example usage: test_auto_threshold_calculation() without return types