diff options
Diffstat (limited to 'Lib/idlelib/idle_test/test_textview.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_textview.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_textview.py b/Lib/idlelib/idle_test/test_textview.py index 9b25ecd..0e81b63 100644 --- a/Lib/idlelib/idle_test/test_textview.py +++ b/Lib/idlelib/idle_test/test_textview.py @@ -3,7 +3,7 @@ import unittest import os from test.test_support import requires -from Tkinter import Tk, Text, TclError +from Tkinter import Tk from idlelib import textView as tv from idlelib.idle_test.mock_idle import Func from idlelib.idle_test.mock_tk import Mbox @@ -93,6 +93,4 @@ class textviewTest(unittest.TestCase): self.assertIsNone(view) if __name__ == '__main__': - unittest.main(verbosity=2, exit=False) - from idlelib.idle_test.htest import run - run(TextViewer) + unittest.main(verbosity=2) |