del_tmp_sink_path(sink_path)
def test_read_with(self):
- sink_path =get_tmp_sink_path()
+ samplerate = 44100
+ sink_path = get_tmp_sink_path()
vec = fvec(128)
with sink(sink_path, samplerate) as g:
- for i in range(10):
+ for _ in range(10):
g(vec, 128)
if __name__ == '__main__':