summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-13 11:54:59 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-13 11:54:59 (GMT)
commit141b72e41c37d034a2f0c10bf108b20f4f61b9e6 (patch)
tree911f16378b5c028708360effe5e2ffcc97e21870
parenta09543c65c08363b8d7238cef8c08feb3cd2895b (diff)
downloadcpython-141b72e41c37d034a2f0c10bf108b20f4f61b9e6.zip
cpython-141b72e41c37d034a2f0c10bf108b20f4f61b9e6.tar.gz
cpython-141b72e41c37d034a2f0c10bf108b20f4f61b9e6.tar.bz2
Fix invalid syntax.
-rw-r--r--Lib/test/test_winsound.py2
1 files changed, 1 insertions, 1 deletions
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