def METHOD_NAME():
    """
    Test that the joblib backend is used.
    Copied from https://github.com/scikit-learn/scikit-learn/blob/36958fb240fbe435673a9e3c52e769f01f36bec0/sklearn/ensemble/tests/test_forest.py  # noqa
    """
    # Test that parallelism works
    X = make_deduplication_data(
        examples=["black", "white"], entries_per_example=[15, 15], random_state=0
    )
    deduplicate(X, n_jobs=2)
    # TODO: switch to joblib.parallel_config when we support joblib 1.3
    with joblib.parallel_backend("testing") as (ba, n_jobs):
        deduplicate(X, n_jobs=n_jobs)
    assert ba.count > 0