Author: thomas.heller
Date: Thu Jan 24 11:31:31 2008
New Revision: 60236

Modified:
   python/branches/py3k/Lib/test/test_winreg.py
Log:
Fix a bug in the test.

Modified: python/branches/py3k/Lib/test/test_winreg.py
==============================================================================
--- python/branches/py3k/Lib/test/test_winreg.py        (original)
+++ python/branches/py3k/Lib/test/test_winreg.py        Thu Jan 24 11:31:31 2008
@@ -73,7 +73,7 @@
 
         key = OpenKey(root_key, test_key_name)
         # Read the sub-keys
-        with OpenKey(key, "sub_key") as sub_key:
+        with OpenKey(key, subkeystr) as sub_key:
             # Check I can enumerate over the values.
             index = 0
             while 1:
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to