From 141b72e41c37d034a2f0c10bf108b20f4f61b9e6 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 13 Apr 2010 11:54:59 +0000 Subject: Fix invalid syntax. --- Lib/test/test_winsound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index 422fd87..434e602 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -16,7 +16,7 @@ def has_sound(sound): key = winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER, "AppEvents\Schemes\Apps\.Default\{0}\.Default".format(sound)) value = winreg.EnumValue(key, 0)[1] - if value is not u"": + if value is not "": return True else: return False -- cgit v0.12