mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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:
parent
0fcca4e815
commit
0a07639779
2 changed files with 3 additions and 9 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue