From: Mark Dickinson Date: Tue, 13 Apr 2010 11:55:57 +0000 (+0000) Subject: Merged revisions 80040 via svnmerge from X-Git-Tag: v3.1.3rc1~949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea9dbb8e51bb27e1d11717eca5843b99fd4fd3b8;p=python Merged revisions 80040 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80040 | mark.dickinson | 2010-04-13 12:54:59 +0100 (Tue, 13 Apr 2010) | 1 line Fix invalid syntax. ........ --- diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index 422fd879a9..434e602c77 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