diff options
author | Thomas Heller <theller@ctypes.org> | 2008-01-24 10:31:31 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-01-24 10:31:31 (GMT) |
commit | e83ebd9ab10adc43b0e6368c6985a4a90a85747f (patch) | |
tree | e12bd72dd64f99945e534263a10bb3e6ba35eb2e /Lib | |
parent | bbffeb61e1c981919d328f0c135d66629b0bac51 (diff) | |
download | cpython-e83ebd9ab10adc43b0e6368c6985a4a90a85747f.zip cpython-e83ebd9ab10adc43b0e6368c6985a4a90a85747f.tar.gz cpython-e83ebd9ab10adc43b0e6368c6985a4a90a85747f.tar.bz2 |
Fix a bug in the test.
Diffstat (limited to 'Lib')
-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 3f73c74..174d7bc 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: |