diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-12-30 22:21:22 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-12-30 22:21:22 (GMT) |
commit | 1a4d77b2527ced1052b4faae3d176b125a764325 (patch) | |
tree | 9e85ea0c2087689197cade1dbcb0a0ae7a14bf8a /Lib/xml | |
parent | 52328165c52d775d336968b40da9619f5f7f677a (diff) | |
download | cpython-1a4d77b2527ced1052b4faae3d176b125a764325.zip cpython-1a4d77b2527ced1052b4faae3d176b125a764325.tar.gz cpython-1a4d77b2527ced1052b4faae3d176b125a764325.tar.bz2 |
Christmas present to myself: changed regrtest in two ways:
1. When running in verbose mode, if any test happens to pass, print
a warning that the apparent success may be bogus (stdout isn't
compared in verbose mode). Been fooled by that too often.
2. When a test fails because the expected stdout doesn't match the
actual stdout, print as much of stdout as did match before the
first failing write. Else we get failures of the form "expected
'a', got 'b'" and a glance at the expected output file shows
500 instances of 'a' -- no idea where it failed, and, as in #1,
trying to run in verbose mode instead doesn't help because
stdout isn't compared then.
Diffstat (limited to 'Lib/xml')
0 files changed, 0 insertions, 0 deletions