summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-01 11:46:20 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-05-01 11:46:20 (GMT)
commit16cd2bea1d13fcf1efde25d2f339fa70e72fffb6 (patch)
treed0d71a4f945950bc3489c16acd58f69c6f7a2125 /Lib
parent1b7f9e53b3dbfb3c97b5e5a768ae4ac4a452f2aa (diff)
downloadcpython-16cd2bea1d13fcf1efde25d2f339fa70e72fffb6.zip
cpython-16cd2bea1d13fcf1efde25d2f339fa70e72fffb6.tar.gz
cpython-16cd2bea1d13fcf1efde25d2f339fa70e72fffb6.tar.bz2
Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
Diffstat (limited to 'Lib')
-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 c3b12b0..9f3d104 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.