[Python-checkins] cpython: Issue #27173: Fix error in test_config that caused test_idle to fail.

terry.reedy python-checkins at python.org
Sun Jul 10 17:26:44 EDT 2016


https://hg.python.org/cpython/rev/792e3294b59e
changeset:   102314:792e3294b59e
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sun Jul 10 17:26:24 2016 -0400
summary:
  Issue #27173: Fix error in test_config that caused test_idle to fail.

files:
  Lib/idlelib/idle_test/test_config.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/idlelib/idle_test/test_config.py b/Lib/idlelib/idle_test/test_config.py
--- a/Lib/idlelib/idle_test/test_config.py
+++ b/Lib/idlelib/idle_test/test_config.py
@@ -24,7 +24,7 @@
     idleConf.userCfg = testcfg
 
 def tearDownModule():
-    idleConf.userCfg = testcfg
+    idleConf.userCfg = usercfg
 
 
 class CurrentColorKeysTest(unittest.TestCase):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list