Ignore:
Timestamp:
May 16, 2016, 5:08:18 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

python/tests: fix most prospect warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_sink.py

    r58a5fb9 r0b6d23d  
    11#! /usr/bin/env python
    22
    3 from numpy.testing import TestCase, assert_equal, assert_almost_equal
     3from nose2 import main
    44from nose2.tools import params
     5from numpy.testing import TestCase
    56from aubio import fvec, source, sink
    6 from numpy import array
    77from utils import list_all_sounds, get_tmp_sink_path, del_tmp_sink_path
    88
     
    3838            sink_list.append(g)
    3939            write = 32
    40             for n in range(200):
     40            for _ in range(200):
    4141                vec = fvec(write)
    4242                g(vec, write)
     
    9595
    9696if __name__ == '__main__':
    97     from nose2 import main
    9897    main()
Note: See TracChangeset for help on using the changeset viewer.