Changeset 0b6d23d for python/tests/test_sink.py
- Timestamp:
- May 16, 2016, 5:08:18 AM (8 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:
- a6f9ebf
- Parents:
- 58a5fb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_sink.py
r58a5fb9 r0b6d23d 1 1 #! /usr/bin/env python 2 2 3 from n umpy.testing import TestCase, assert_equal, assert_almost_equal3 from nose2 import main 4 4 from nose2.tools import params 5 from numpy.testing import TestCase 5 6 from aubio import fvec, source, sink 6 from numpy import array7 7 from utils import list_all_sounds, get_tmp_sink_path, del_tmp_sink_path 8 8 … … 38 38 sink_list.append(g) 39 39 write = 32 40 for nin range(200):40 for _ in range(200): 41 41 vec = fvec(write) 42 42 g(vec, write) … … 95 95 96 96 if __name__ == '__main__': 97 from nose2 import main98 97 main()
Note: See TracChangeset
for help on using the changeset viewer.