Issue #27173: Fix error in test_config that caused test_idle to fail.
diff --git a/Lib/idlelib/idle_test/test_config.py b/Lib/idlelib/idle_test/test_config.py
index bb7732c..53665cd 100644
--- 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):