def _skip_if_no_pathlib():
    try:
        from pathlib import Path  # noqa
    except __HOLE__:
        import nose
        raise nose.SkipTest("pathlib not available")
dataset/ETHPy150Open pydata/pandas/pandas/util/testing.py/_skip_if_no_pathlib