Home | History | Annotate | Download | only in idle_test
      1 "Test debugger_r, coverage 30%."
      2 
      3 from idlelib import debugger_r
      4 import unittest
      5 from test.support import requires
      6 from tkinter import Tk
      7 
      8 
      9 class Test(unittest.TestCase):
     10 
     11 ##    @classmethod
     12 ##    def setUpClass(cls):
     13 ##        requires('gui')
     14 ##        cls.root = Tk()
     15 ##
     16 ##    @classmethod
     17 ##    def tearDownClass(cls):
     18 ##        cls.root.destroy()
     19 ##        del cls.root
     20 
     21     def test_init(self):
     22         self.assertTrue(True)  # Get coverage of import
     23 
     24 
     25 # Classes GUIProxy, IdbAdapter, FrameProxy, CodeProxy, DictProxy,
     26 # GUIAdapter, IdbProxy plus 7 module functions.
     27 
     28 if __name__ == '__main__':
     29     unittest.main(verbosity=2)
     30