From: Mark Dickinson Date: Sat, 1 May 2010 11:46:20 +0000 (+0000) Subject: Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py. X-Git-Tag: v2.7b2~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16cd2bea1d13fcf1efde25d2f339fa70e72fffb6;p=thirdparty%2FPython%2Fcpython.git Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py. --- diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index c3b12b0ac8a5..9f3d104e5dbe 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -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.