summaryrefslogtreecommitdiff
path: root/Lib/lib-tk/turtle.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-12-30 22:21:22 +0000
committerTim Peters <tim.peters@gmail.com>2000-12-30 22:21:22 +0000
commit1a4d77b2527ced1052b4faae3d176b125a764325 (patch)
tree9e85ea0c2087689197cade1dbcb0a0ae7a14bf8a /Lib/lib-tk/turtle.py
parent52328165c52d775d336968b40da9619f5f7f677a (diff)
downloadcpython-git-1a4d77b2527ced1052b4faae3d176b125a764325.tar.gz
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/lib-tk/turtle.py')
0 files changed, 0 insertions, 0 deletions