The --nowindows option is deprecated and does nothing but logs a
warning.
import sys
from test.support import os_helper
-from .utils import MS_WINDOWS
-
USAGE = """\
python -m test [options] [test_name1 [test_name2 ...]]
# Similar to options:
#
# -j0 --randomize --fail-env-changed --fail-rerun --rerun
- # --slowest --verbose3 --nowindows
+ # --slowest --verbose3
if ns.use_mp is None:
ns.use_mp = 0
ns.randomize = True
ns.rerun = True
ns.print_slow = True
ns.verbose3 = True
- if MS_WINDOWS:
- ns.nowindows = True # Silence alerts under Windows
else:
ns._add_python_opts = False
def check_ci_mode(self, args, use_resources, rerun=True):
ns = cmdline._parse_args(args)
- if utils.MS_WINDOWS:
- self.assertTrue(ns.nowindows)
# Check Regrtest attributes which are more reliable than Namespace
# which has an unclear API