def METHOD_NAME(dataset, male_drift_samples, request):
    dataset = request.getfixturevalue(dataset)
    actual_df = pd.concat(
        [dataset.df[dataset.df.sex == 'female'], dataset.df[dataset.df.sex == 'male'].sample(male_drift_samples)],
        axis=0)
    actual_dataset = Dataset(
        df=actual_df,
        target=dataset.target,
        column_types=dataset.column_types)
    reference_dataset = Dataset(df=dataset.df,
                                target=dataset.target,
                                column_types=dataset.column_types)
    column_name = 'sex'
    results = test_drift_chi_square(actual_dataset=actual_dataset,
                                    reference_dataset=reference_dataset,
                                    column_name=column_name,
                                    debug=True).execute()
    assert len(results.output_df.df) == len(actual_df)