8000 IDLE: Standardize naming convention for DummyEditwin in tests (GH-138… · python/cpython@6c9effa · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c9effa

Browse files
miss-islingtoncsabella
authored andcommitted
IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876) (#13885)
* Change from Dummy_Editwin to DummyEditwin to match other tests. (cherry picked from commit 7f8a38a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
1 parent 6e05307 commit 6c9effa

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)
0