mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
This commit is contained in:
parent
1b7f9e53b3
commit
16cd2bea1d
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ except ImportError:
|
||||||
threading = None
|
threading = None
|
||||||
|
|
||||||
# Useful Test Constant
|
# Useful Test Constant
|
||||||
Signals = getcontext().flags.keys()
|
Signals = tuple(getcontext().flags.keys())
|
||||||
|
|
||||||
# Tests are built around these assumed context defaults.
|
# Tests are built around these assumed context defaults.
|
||||||
# test_main() restores the original context.
|
# test_main() restores the original context.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue