Oops. I didn't expect that some tests (test_cookie) have expected

output *and* doctest stuff.  Assuming the doctest stuff comes after the
expected output, this fixes that.
This commit is contained in:
Guido van Rossum 2001-09-21 20:45:44 +00:00
parent 0fcca4e815
commit 0a07639779
2 changed files with 3 additions and 9 deletions

View file

@ -32,6 +32,7 @@ _output_comparison = 1
def deny_output_comparison():
global _output_comparison
_output_comparison = 0
sys.stdout = sys.save_stdout
# regrtest's interface to _output_comparison.
def output_comparison_denied():