diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2015-10-08 16:05:36 (GMT) |
|---|---|---|
| committer | Steve Dower <steve.dower@microsoft.com> | 2015-10-08 16:05:36 (GMT) |
| commit | 12c2945ccf8624e3978c5d2069dd18194f88becf (patch) | |
| tree | 4f18561d6d5482c240311213c043c4979a9d16cb /Lib/test/libregrtest/cmdline.py | |
| parent | b6c9572fa9e88029beda2d9cc6b387020f0a7d69 (diff) | |
| download | cpython-12c2945ccf8624e3978c5d2069dd18194f88becf.zip cpython-12c2945ccf8624e3978c5d2069dd18194f88becf.tar.gz cpython-12c2945ccf8624e3978c5d2069dd18194f88becf.tar.bz2 | |
Issue #23919: Prevents assert dialogs appearing in the test suite.
Diffstat (limited to 'Lib/test/libregrtest/cmdline.py')
| -rw-r--r-- | Lib/test/libregrtest/cmdline.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py index 6b18b3a..21c3e66 100644 --- a/Lib/test/libregrtest/cmdline.py +++ b/Lib/test/libregrtest/cmdline.py @@ -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: |
