◐ Shell
clean mode source ↗

[3.11] gh-84623: Remove unused imports in idlelib (GH-94143) by miss-islington · Pull Request #94147 · python/cpython

Expand Up @@ -2,28 +2,21 @@
from idlelib import debugger_r import unittest from test.support import requires from tkinter import Tk

class Test(unittest.TestCase):
# Boilerplate likely to be needed for future test classes. ##from test.support import requires ##from tkinter import Tk ##class Test(unittest.TestCase): ## @classmethod ## def setUpClass(cls): ## requires('gui') ## cls.root = Tk() ## ## @classmethod ## def tearDownClass(cls): ## cls.root.destroy() ## del cls.root
def test_init(self): self.assertTrue(True) # Get coverage of import

# Classes GUIProxy, IdbAdapter, FrameProxy, CodeProxy, DictProxy, # GUIAdapter, IdbProxy plus 7 module functions. # GUIProxy, IdbAdapter, FrameProxy, CodeProxy, DictProxy, # GUIAdapter, IdbProxy, and 7 functions still need tests.
class IdbAdapterTest(unittest.TestCase):
Expand Down