Changeset 9e6695d for python/tests
- Timestamp:
- Mar 8, 2013, 3:52:01 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:
- 1ee4033
- Parents:
- 90a8f2f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_sink.py
r90a8f2f r9e6695d 13 13 def setUp(self): 14 14 if not len(list_of_sounds): self.skipTest('add some sound files in \'python/tests/sounds\'') 15 16 def test_many_sinks(self): 17 for i in range(100): 18 g = sink('/tmp/f.wav', 0) 19 write = 256 20 for n in range(200): 21 vec = fvec(write) 22 g(vec, write) 23 del g 15 24 16 25 def test_read(self): … … 31 40 print "from", f.uri, 32 41 print "to", g.uri 42 #del f, g 33 43 34 44 if __name__ == '__main__': 35 from unittest import main 36 main() 37 45 from unittest import main 46 main()
Note: See TracChangeset
for help on using the changeset viewer.