]> granicus.if.org Git - python/commitdiff
Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
authorMark Dickinson <dickinsm@gmail.com>
Sat, 1 May 2010 11:46:20 +0000 (11:46 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 1 May 2010 11:46:20 +0000 (11:46 +0000)
Lib/test/test_decimal.py

index c3b12b0ac8a587688bcd005c574bb760db16b8b6..9f3d104e5dbec3f8acf0feea09432c83004d95b4 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.