[Python-checkins] r80040 - python/branches/py3k/Lib/test/test_winsound.py

mark.dickinson python-checkins at python.org
Tue Apr 13 13:54:59 CEST 2010


Author: mark.dickinson
Date: Tue Apr 13 13:54:59 2010
New Revision: 80040

Log:
Fix invalid syntax.

Modified:
   python/branches/py3k/Lib/test/test_winsound.py

Modified: python/branches/py3k/Lib/test/test_winsound.py
==============================================================================
--- python/branches/py3k/Lib/test/test_winsound.py	(original)
+++ python/branches/py3k/Lib/test/test_winsound.py	Tue Apr 13 13:54:59 2010
@@ -16,7 +16,7 @@
         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


More information about the Python-checkins mailing list