Changeset 5f4fd2f for tests


Ignore:
Timestamp:
Oct 8, 2009, 9:07:23 PM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.