summaryrefslogtreecommitdiff
path: root/Lib/test/test_winreg.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-07-24 10:26:33 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-07-24 10:26:33 +0000
commitbda0dde1c46c7f86c09f1b54d0b14125e9ab7f52 (patch)
tree9aaa09e3507d1af552ea3180c7d91731751c4517 /Lib/test/test_winreg.py
parent8cab8b03e5a44acce3fb2c5416f877c3edcf9beb (diff)
downloadcpython-git-bda0dde1c46c7f86c09f1b54d0b14125e9ab7f52.tar.gz
Patch #1448199: Release GIL around ConnectRegistry.
Diffstat (limited to 'Lib/test/test_winreg.py')
-rw-r--r--Lib/test/test_winreg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py
index a9bc962155..5830fd64f5 100644
--- a/Lib/test/test_winreg.py
+++ b/Lib/test/test_winreg.py
@@ -151,3 +151,6 @@ if remote_name is not None:
else:
print "Remote registry calls can be tested using",
print "'test_winreg.py --remote \\\\machine_name'"
+ # perform minimal ConnectRegistry test which just invokes it
+ h = ConnectRegistry(None, HKEY_LOCAL_MACHINE)
+ h.Close()