]> granicus.if.org Git - python/commitdiff
Merged revisions 80681 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Sat, 1 May 2010 11:56:48 +0000 (11:56 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 1 May 2010 11:56:48 +0000 (11:56 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80681 | mark.dickinson | 2010-05-01 12:46:20 +0100 (Sat, 01 May 2010) | 2 lines

  Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
........

Lib/test/test_decimal.py

index b78041b3fb782e21fe9cdc2b15c522278b68776b..b176f57fa3247d44ef51bafd9b72c151402899b3 100644 (file)
@@ -40,7 +40,7 @@ except ImportError:
     threading = None
 
 # Useful Test Constant
-Signals = getcontext().flags.keys()
+Signals = tuple(getcontext().flags.keys())
 
 # Tests are built around these assumed context defaults.
 # test_main() restores the original context.