summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_replace.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test/test_replace.py')
-rw-r--r--Lib/idlelib/idle_test/test_replace.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_replace.py b/Lib/idlelib/idle_test/test_replace.py
index df76dec..c3c5d2e 100644
--- a/Lib/idlelib/idle_test/test_replace.py
+++ b/Lib/idlelib/idle_test/test_replace.py
@@ -1,13 +1,14 @@
-"""Unittest for idlelib.replace.py"""
+"Test replace, coverage 78%."
+
+from idlelib.replace import ReplaceDialog
+import unittest
from test.support import requires
requires('gui')
+from tkinter import Tk, Text
-import unittest
from unittest.mock import Mock
-from tkinter import Tk, Text
from idlelib.idle_test.mock_tk import Mbox
import idlelib.searchengine as se
-from idlelib.replace import ReplaceDialog
orig_mbox = se.tkMessageBox
showerror = Mbox.showerror