Fix a bug in the test.

This commit is contained in:
Thomas Heller 2008-01-24 10:31:31 +00:00
parent bbffeb61e1
commit e83ebd9ab1
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class WinregTests(unittest.TestCase):
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: