code: def test_feature_2_synthetic_data(
      self, synthetic_data, expected_distribution_measures_ethnicity
  ):
      dist_measures = (
          DistributionBalanceMeasures(
              cols_of_interest=[SYNTHETIC_DATA_ETHNICITY]
          )
          .measures(dataset=synthetic_data)
          .iloc[0]
      )
      assert_series_and_dict_equal(
          dist_measures, expected_distribution_measures_ethnicity
      )
  
file_path: responsible-ai-toolbox/responsibleai/tests/databalanceanalysis/test_distribution_balance_measures.py
imports: import pandas
  from responsibleai.databalanceanalysis import DistributionBalanceMeasures
  from ..common_utils import assert_series_and_dict_equal
  from .conftest import SYNTHETIC_DATA_ETHNICITY, SYNTHETIC_DATA_GENDER
label_desc: Use image node_id 2 for calling the TestDistributionBalanceMeasures obj's underlying member method code with example usage: obj.test_feature_2_synthetic_data(synthetic_data, expected_distribution_measures_ethnicity) without return types