Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/python/examples/aubiopitch.py

    r9668a37 rd6f515d  
    5353    self.getOutput()
    5454    expected_output = open(os.path.join('examples','aubiopitch','yinfft'+'.'+os.path.basename(self.filename)+'.txt')).read()
    55     lines = 0
    5655    for line_out, line_exp in zip(self.output.split('\n'), expected_output.split('\n')):
    57       try:
    58         assert line_exp == line_out, line_exp + " vs. " + line_out + " at line " + str(lines)
    59       except:
    60         open(os.path.join('examples','aubiopitch','yinfft'+'.'+os.path.basename(self.filename)+'.txt.out'),'w').write(self.output)
    61         raise
    62       lines += 1
     56      assert line_out == line_exp, line_exp + " vs. " + line_out
    6357
    6458if __name__ == '__main__': unittest.main()
Note: See TracChangeset for help on using the changeset viewer.