diff options
author | Thomas Heller <theller@ctypes.org> | 2008-01-24 10:31:31 +0000 |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-01-24 10:31:31 +0000 |
commit | e83ebd9ab10adc43b0e6368c6985a4a90a85747f (patch) | |
tree | e12bd72dd64f99945e534263a10bb3e6ba35eb2e /Lib/test/test_winreg.py | |
parent | bbffeb61e1c981919d328f0c135d66629b0bac51 (diff) | |
download | cpython-git-e83ebd9ab10adc43b0e6368c6985a4a90a85747f.tar.gz |
Fix a bug in the test.
Diffstat (limited to 'Lib/test/test_winreg.py')
-rw-r--r-- | Lib/test/test_winreg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index 3f73c74b02..174d7bcee8 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py @@ -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: |