10000 IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876) · python/cpython@7f8a38a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f8a38a

Browse files
authored
IDLE: Standardize naming convention for DummyEditwin in tests (GH-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)
0