Changeset 6813a2f7 in sasview for test


Ignore:
Timestamp:
Mar 31, 2014 11:46:09 AM (6 years ago)
Author:
Tobias Richter <tobias.richter@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d7b46e71
Parents:
a3afe20
Message:

nicer output if 100% of the tests fail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/utest_sansview.py

    r17b1873 r6813a2f7  
    7878    print "    PASSED: %d" % passed 
    7979    ratio = 100.0*failed/(failed+passed) 
    80     print "    FAILED: %d    (%2.2g%%)" % (failed,ratio)  
     80    print "    FAILED: %d    (%.0f%%)" % (failed,ratio)  
    8181     
    8282    print "Results by tests:" 
Note: See TracChangeset for help on using the changeset viewer.