Changeset 18d8bef


Ignore:
Timestamp:
Feb 23, 2014, 6:21:25 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
ab35262
Parents:
2eccf22
Message:

python/tests/utils.py: add get_tmp_sink_name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/utils.py

    r2eccf22 r18d8bef  
    1919    else:
    2020        return all_sounds[0]
     21
     22def get_tmp_sink_name():
     23    from tempfile import mkstemp
     24    import os
     25    fd, name = mkstemp()
     26    os.close(fd)
     27    return name
    2128
    2229def array_from_yaml_file(filename):
Note: See TracChangeset for help on using the changeset viewer.