[Python-checkins] r80682 - in python/branches/release26-maint: Lib/test/test_decimal.py

mark.dickinson python-checkins at python.org
Sat May 1 13:56:48 CEST 2010


Author: mark.dickinson
Date: Sat May  1 13:56:48 2010
New Revision: 80682

Log:
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.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/test/test_decimal.py

Modified: python/branches/release26-maint/Lib/test/test_decimal.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_decimal.py	(original)
+++ python/branches/release26-maint/Lib/test/test_decimal.py	Sat May  1 13:56:48 2010
@@ -40,7 +40,7 @@
     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.


More information about the Python-checkins mailing list