Ignore:
Timestamp:
Apr 18, 2016, 11:24:47 PM (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:
6db7600
Parents:
1c6fe64
Message:

python/tests/: prepare for python3 (see #33)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_pitch.py

    r1c6fe64 r689106e  
    2525        p = pitch('default', 2048, 512, 32000)
    2626        f = fvec (512)
    27         for i in xrange(10): assert_equal (p(f), 0.)
     27        for i in range(10): assert_equal (p(f), 0.)
    2828
    2929    def test_run_on_ones(self):
     
    3232        f = fvec (512)
    3333        f[:] = 1
    34         for i in xrange(10): assert_equal (p(f), 0.)
     34        for i in range(10): assert_equal (p(f), 0.)
    3535
    3636class aubio_pitch_Sinusoid(TestCase):
Note: See TracChangeset for help on using the changeset viewer.