8000 gh-84623: Remove unused imports in idlelib by vstinner · Pull Request #94143 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-84623: Remove unused imports in idlelib #94143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-84623: Remove unused imports in idlelib
Remove commented code in test_debugger_r.py
  • Loading branch information
vstinner committed Jun 22, 2022
commit 11a39c10abaa80a2ccf9fc97e4169b79bad9ec1b
12 changes: 0 additions & 12 deletions Lib/idlelib/idle_test/test_debugger_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,10 @@

from idlelib import debugger_r
import unittest
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

Expand Down
1 change: 0 additions & 1 deletion Lib/idlelib/idle_test/test_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from collections import namedtuple
from test.support import requires
from tkinter import Tk
from idlelib.idle_test.mock_idle import Func

Editor = editor.EditorWindow

Expand Down
1 change: 0 additions & 1 deletion Lib/idlelib/iomenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from tkinter import messagebox
from tkinter.simpledialog import askstring

import idlelib
from idlelib.config import idleConf
from idlelib.util import py_extensions

Expand Down
0