Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(64)

#21703: IDLE: Test UndoDelegator

Can't Edit
Can't Publish+Mail
Start Review
Created:
5 years, 7 months ago by saimadhavheblikar
Modified:
5 years, 7 months ago
Reviewers:
tjreedy
CC:
terry.reedy, haypo, jesstess, devnull_psf.upfronthosting.co.za, sahutd
Visibility:
Public.

Patch Set 1 #

Total comments: 1

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/idlelib/idle_test/test_undodelegator.py View 1 1 chunk +130 lines, -0 lines 0 comments Download
Lib/idlelib/UndoDelegator.py View 1 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 1
terry.reedy
5 years, 7 months ago #1
http://bugs.python.org/review/21703/diff/12107/Lib/idlelib/idle_test/test_und...
File Lib/idlelib/idle_test/test_undodelegator.py (right):

http://bugs.python.org/review/21703/diff/12107/Lib/idlelib/idle_test/test_und...
Lib/idlelib/idle_test/test_undodelegator.py:74: indirectly
from test.support import captured_stdout
...

with captured_stdout() as file:
    self.Dump_event

I think testing that it runs is almost enough. But ...

out = file.getvalue()  # and can test output for a couple of lines it should
have.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+