Changeset f4fcf02 for python


Ignore:
Timestamp:
Sep 17, 2017, 2:06:03 PM (7 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
Children:
5eaed62, b57ae47
Parents:
cfb7fb7
Message:

python/tests/test_aubio_cmd.py: fix for python << 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_aubio_cmd.py

    rcfb7fb7 rf4fcf02  
    1111
    1212    def test_default_creation(self):
    13         assert self.a_parser.parse_args(['-V']).show_version
     13        try:
     14            assert self.a_parser.parse_args(['-V']).show_version
     15        except SystemExit as e:
     16            url = 'https://bugs.python.org/issue9253'
     17            self.skipTest('subcommand became optional in py3, see %s' % url)
    1418
    1519class aubio_cmd_utils(TestCase):
Note: See TracChangeset for help on using the changeset viewer.