def _skip_if_no_scipy():
    try:
        import scipy.stats  # noqa
    except __HOLE__:
        import nose
        raise nose.SkipTest("no scipy.stats module")
    try:
        import scipy.interpolate  # noqa
    except ImportError:
        import nose
        raise nose.SkipTest('scipy.interpolate missing')
dataset/ETHPy150Open pydata/pandas/pandas/util/testing.py/_skip_if_no_scipy