Changeset 5f4fd2f for tests/python


Ignore:
Timestamp:
Oct 8, 2009, 9:07:23 PM (15 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, pitchshift, sampler, timestretch, yinfft+
Children:
77a321c
Parents:
b45b4ea
Message:

tests/python/template.py: also print the command when failing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/template.py

    rb45b4ea r5f4fd2f  
    3333    if expected_status != -1:
    3434      assert self.status == expected_status, \
    35         "expected status was %s, got %s\nOutput was:\n%s" % \
    36         (expected_status, self.status, self.output)
     35        "expected status was %s, got %s\nOutput was:\n%s\n command was %s" % \
     36        (expected_status, self.status, self.output, self.command)
    3737
    3838def array_from_text_file(filename, dtype = 'float'):
Note: See TracChangeset for help on using the changeset viewer.