def test_random_under_sampler_strings(sampling_strategy):
    """Check that we support all supposed strings as `sampling_strategy` in
    a sampler inheriting from `BaseUnderSampler`."""

    X, y = make_classification(
        n_samples=100,
        n_clusters_per_class=1,
        n_classes=3,
        weights=[0.1, 0.3, 0.6],
        random_state=0,
    )
    RandomUnderSampler(sampling_strategy=sampling_strategy).fit_resample(X, y)
Check that we support all supposed strings as `sampling_strategy` in
    a sampler inheriting from `BaseUnderSampler`.
imblearn/under_sampling/_prototype_selection/tests/test_random_under_sampler.py