def _flatten_per_cluster(per_cluster):
    return np.sort(np.concatenate(list(per_cluster.values()))).astype(np.int64)
Assert that a certain number of warnings with certain messages were
dataset/ETHPy150Open kwikteam/phy/phy/io/array.py/_flatten_per_cluster--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_tests.py/SuppressionMixin._assertWarnings