Changeset 2693655
- Timestamp:
- Apr 10, 2013, 7:28:51 AM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 8c3f717
- Parents:
- e987c05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/utils.py
re987c05 r2693655 12 12 datadir = os.path.join(os.path.dirname(__file__), rel_dir) 13 13 return glob.glob(os.path.join(datadir,'*.*')) 14 15 def array_from_yaml_file(filename): 16 import yaml 17 f = open(filename) 18 yaml_data = yaml.safe_load(f) 19 f.close() 20 return yaml_data
Note: See TracChangeset
for help on using the changeset viewer.