Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 38c508a00c32a6ce45a10b705adf8c818fa49dcd authored by Ned Deily on 22 November 2016, 04:30:55 UTC
Version bump for 3.6.0b4
Tip revision: 38c508a
test_debugger.py
''' Test idlelib.debugger.

Coverage: 19%
'''
from idlelib import debugger
from test.support import requires
requires('gui')
import unittest
from tkinter import Tk


class NameSpaceTest(unittest.TestCase):

    @classmethod
    def setUpClass(cls):
        cls.root = Tk()
        cls.root.withdraw()

    @classmethod
    def tearDownClass(cls):
        cls.root.destroy()
        del cls.root

    def test_init(self):
        debugger.NamespaceViewer(self.root, 'Test')


if __name__ == '__main__':
    unittest.main(verbosity=2)
back to top