From: Paul Brossier Date: Thu, 8 Oct 2009 02:30:11 +0000 (+0200) Subject: tests/python/examples/aubionotes.py: do not assume the error is known X-Git-Tag: bzr2git~166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca0a8210ab47bc0b25fa84b00bc001f926b99dec;p=aubio.git tests/python/examples/aubionotes.py: do not assume the error is known --- diff --git a/tests/python/examples/aubionotes.py b/tests/python/examples/aubionotes.py index 6c22a349..5d181507 100644 --- a/tests/python/examples/aubionotes.py +++ b/tests/python/examples/aubionotes.py @@ -28,10 +28,9 @@ class aubionotes_test_case(program_test_case): # and there should be an error message assert len(self.output) > 0 # that looks like this - output_lines = self.output.split('\n') - assert output_lines[0] == "Unable to open input file /dev/null." - #assert output_lines[1] == "Supported file format but file is malformed." - assert output_lines[2] == "Could not open input file /dev/null." + #output_lines = self.output.split('\n') + #for line in output_lines: + # print line mode_names = ["yinfft", "yin", "fcomb", "mcomb", "schmitt"] for name in mode_names: