Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6f36b68
Edit help_about and test_help_about.
terryjreedy Jun 17, 2018
52a3636
Edit test_history.
terryjreedy Jun 17, 2018
3d19927
Edit hyperparser and test_hyperparser.
terryjreedy Jun 17, 2018
89acd39
Re-add template.py.
terryjreedy Jun 17, 2018
ce297a0
Edit test_run, adding pseudofile tests from test_iomenu.
terryjreedy Jun 17, 2018
8e87ce9
Merge remote-tracking branch 'origin/master' into moretest2
terryjreedy Jun 17, 2018
5fb8d55
Edit iomenu and replace tests mover to test_run with io init.
terryjreedy Jun 17, 2018
ccfe37f
Edit test_macosx.
terryjreedy Jun 17, 2018
16f8d94
Edit mainmenu and add test_mainmenu.
terryjreedy Jun 17, 2018
d66338a
Edit multicall and add test_multicall.
terryjreedy Jun 17, 2018
483ac25
Edit test_outwin.
terryjreedy Jun 17, 2018
affce4a
Edit paragraph and test_paragraph.
terryjreedy Jun 17, 2018
84b8d7d
whitespace
terryjreedy Jun 17, 2018
e48da3b
Edit test_pathbrowser.
terryjreedy Jun 18, 2018
7fb1ffb
Edit parenmatch and test_parenmatch.
terryjreedy Jun 18, 2018
d5254ce
Edit percolator and test_percolator.
terryjreedy Jun 18, 2018
f2651b6
Edit pyparse and test_pyparse.
terryjreedy Jun 18, 2018
442347e
Add test_pyshell.
terryjreedy Jun 18, 2018
cd35b55
Edit query and test_query.
terryjreedy Jun 18, 2018
4bef8d6
Correct tes_query coverage.
terryjreedy Jun 18, 2018
f52bb2e
Whitespace.
terryjreedy Jun 18, 2018
6e9c4a9
Edit redirector and test_redirector.
terryjreedy Jun 18, 2018
1195a35
Edit replace and test_replace.
terryjreedy Jun 18, 2018
5e01046
Add coverage.
terryjreedy Jun 18, 2018
411e6b3
Update test_mainmenu.py
terryjreedy Jun 18, 2018
d0fef08
Update test_query.py
terryjreedy Jun 18, 2018
2f22ed4
Update test_replace.py
terryjreedy Jun 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Edit percolator and test_percolator.
  • Loading branch information
terryjreedy committed Jun 18, 2018
commit d5254cea87959aeea0d5c37bdadda2de7a585f7c
8 changes: 4 additions & 4 deletions Lib/idlelib/idle_test/test_percolator.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'''Test percolator.py.'''
from test.support import requires
requires('gui')
"Test percolator, coverage 100%."

from idlelib.percolator import Percolator, Delegator
import unittest
from test.support import requires
requires('gui')
from tkinter import Text, Tk, END
from idlelib.percolator import Percolator, Delegator


class MyFilter(Delegator):
Expand Down
5 changes: 2 additions & 3 deletions Lib/idlelib/percolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@ def toggle2():
cb2.pack()

if __name__ == "__main__":
import unittest
unittest.main('idlelib.idle_test.test_percolator', verbosity=2,
exit=False)
from unittest import main
main('idlelib.idle_test.test_percolator', verbosity=2, exit=False)

from idlelib.idle_test.htest import run
run(_percolator)