Showing the changes to python/tests (1 of 1 file). Show all
Unified · Split
| @@ -10,7 +10,11 @@ class aubio_cmd(TestCase): · 9 unmodified lines | ||
| 10 | 10 | self.a_parser = aubio.cmd.aubio_parser() |
| 11 | 11 | |
| 12 | 12 | 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) | |
| 14 | 18 | |
| 15 | 19 | class aubio_cmd_utils(TestCase): |
| 16 | 20 | |