shithub: aubio

Download patch

ref: ca0a8210ab47bc0b25fa84b00bc001f926b99dec
parent: 874ed554c0c2e670e329ac34691614d7a8710454
author: Paul Brossier <piem@piem.org>
date: Thu Oct 8 00:30:11 EDT 2009

tests/python/examples/aubionotes.py: do not assume the error is known

--- a/tests/python/examples/aubionotes.py
+++ b/tests/python/examples/aubionotes.py
@@ -28,10 +28,9 @@
     # 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: