def test_prune(): id3estimator = Id3Estimator(prune=True) bunch = load_breast_cancer() id3estimator.fit(bunch.data, bunch.target)