def requires_bottleneck(test): return test if has_bottleneck else unittest.skip('requires bottleneck')(test)