There was an error while loading. Please reload this page.
1 parent 998b890 commit c9c2ba3Copy full SHA for c9c2ba3
1 file changed
Lib/idlelib/idle_test/test_zzdummy.py
@@ -11,7 +11,8 @@
11
12
13
usercfg = zzdummy.idleConf.userCfg
14
-testcfg = {
+
15
+make_testcfg = lambda: {
16
'main': config.IdleUserConfParser(''),
17
'highlight': config.IdleUserConfParser(''),
18
'keys': config.IdleUserConfParser(''),
@@ -128,7 +129,7 @@ def setUpClass(cls):
128
129
root.withdraw()
130
text = cls.text = Text(cls.root)
131
cls.editor = DummyEditwin(root, text)
- zzdummy.idleConf.userCfg = testcfg
132
+ zzdummy.idleConf.userCfg = make_testcfg()
133
134
@classmethod
135
def tearDownClass(cls):
0 commit comments