mirror of
https://github.com/python/cpython.git
synced 2026-05-21 03:44:14 -04:00
Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user