mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #18492: Merge with 3.4
This commit is contained in:
commit
e7e1375e57
14 changed files with 37 additions and 59 deletions
|
|
@ -5556,7 +5556,7 @@ else:
|
|||
all_tests.insert(1, SignatureTest)
|
||||
|
||||
|
||||
def test_main(arith=False, verbose=None, todo_tests=None, debug=None):
|
||||
def test_main(arith=None, verbose=None, todo_tests=None, debug=None):
|
||||
""" Execute the tests.
|
||||
|
||||
Runs all arithmetic tests if arith is True or if the "decimal" resource
|
||||
|
|
@ -5566,7 +5566,7 @@ def test_main(arith=False, verbose=None, todo_tests=None, debug=None):
|
|||
init(C)
|
||||
init(P)
|
||||
global TEST_ALL, DEBUG
|
||||
TEST_ALL = arith or is_resource_enabled('decimal')
|
||||
TEST_ALL = arith if arith is not None else is_resource_enabled('decimal')
|
||||
DEBUG = debug
|
||||
|
||||
if todo_tests is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue