summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-01 11:56:48 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-05-01 11:56:48 (GMT)
commit813f11815728501b27447a9429ea5b42ba005d37 (patch)
tree70ad2e8da3d073a693ef00490bd6b3e857cd24c7
parentfcfd25bd72cb6b77acd717138104a392f992089f (diff)
downloadcpython-813f11815728501b27447a9429ea5b42ba005d37.zip
cpython-813f11815728501b27447a9429ea5b42ba005d37.tar.gz
cpython-813f11815728501b27447a9429ea5b42ba005d37.tar.bz2
Merged revisions 80681 via svnmerge from
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. ........
-rw-r--r--Lib/test/test_decimal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index b78041b..b176f57 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.