Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 7f8a38a

Browse files
IDLE: Standardize naming convention for DummyEditwin in tests (pythonGH-13876)
* Change from Dummy_Editwin to DummyEditwin to match other tests.
1 parent 0690c79 commit 7f8a38a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Lib/idlelib/idle_test/test_autoexpand.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from tkinter import Text, Tk
77

88

9-
class Dummy_Editwin:
9+
class DummyEditwin:
1010
# AutoExpand.__init__ only needs .text
1111
def __init__(self, text):
1212
self.text = text
@@ -18,7 +18,7 @@ def setUpClass(cls):
1818
requires('gui')
1919
cls.tk = Tk()
2020
cls.text = Text(cls.tk)
21-
cls.auto_expand = AutoExpand(Dummy_Editwin(cls.text))
21+
cls.auto_expand = AutoExpand(DummyEditwin(cls.text))
2222
cls.auto_expand.bell = lambda: None
2323

2424
# If mock_tk.Text._decode understood indexes 'insert' with suffixed 'linestart',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /