mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #23919: Prevents assert dialogs appearing in the test suite.
This commit is contained in:
parent
b6c9572fa9
commit
12c2945ccf
2 changed files with 13 additions and 3 deletions
|
@ -304,6 +304,10 @@ def _parse_args(args, **kwargs):
|
|||
if ns.pgo and (ns.verbose or ns.verbose2 or ns.verbose3):
|
||||
parser.error("--pgo/-v don't go together!")
|
||||
|
||||
if ns.nowindows:
|
||||
print("Warning: the --nowindows (-n) option is deprecated. "
|
||||
"Use -vv to display assertions in stderr.", file=sys.stderr)
|
||||
|
||||
if ns.quiet:
|
||||
ns.verbose = 0
|
||||
if ns.timeout is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue