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_musicutils.py

    r1c6fe64 r689106e  
    1818        try:
    1919            window(10, 1024)
    20         except ValueError, e:
     20        except ValueError as e:
    2121            pass
    2222        else:
     
    2626        try:
    2727            window("default", "default")
    28         except ValueError, e:
     28        except ValueError as e:
    2929            pass
    3030        else:
     
    4444        try:
    4545            level_lin("default")
    46         except ValueError, e:
     46        except ValueError as e:
    4747            pass
    4848        else:
     
    6363        try:
    6464            db_spl("default")
    65         except ValueError, e:
     65        except ValueError as e:
    6666            pass
    6767        else:
     
    8383        try:
    8484            silence_detection("default", -70)
    85         except ValueError, e:
     85        except ValueError as e:
    8686            pass
    8787        else:
     
    103103        try:
    104104            level_detection("default", -70)
    105         except ValueError, e:
     105        except ValueError as e:
    106106            pass
    107107        else:
Note: See TracChangeset for help on using the changeset viewer.