def dataset_urls():
    """Returns a list of legacy datasets available for testing"""
    legacy_data_directory = os.path.join(os.path.dirname(__file__), 'data', 'legacy')
    versions = os.listdir(legacy_data_directory)
    urls = ['file://' + os.path.join(legacy_data_directory, v) for v in versions]
    return urls
Returns a list of legacy datasets available for testing
petastorm/tests/test_reading_legacy_datasets.py