]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Removed --have-resources flag in favor of the more granular -u/--use
authorBarry Warsaw <barry@python.org>
Mon, 20 Aug 2001 22:33:46 +0000 (22:33 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 20 Aug 2001 22:33:46 +0000 (22:33 +0000)
commit08fca5212528e073600c27c70a34eeef445f393b
tree2dd3c2c7e8474b779d13e054ada85d8cd5ae601c
parentc0fb605ce3734e7d13301f9a232b12eaa09618ad
Removed --have-resources flag in favor of the more granular -u/--use
flag, which specifies external or resource intensive tests to
perform.  This is used by test_largefile and test_socket_ssl.

-u/--use takes a comma separated list of flags, currently supported:
largefile, network.

usage(): New function.  Note that the semantics of main() have changed
    slightly; instead of returning an error code, it raises a
    SystemExit (via sys.exit()) with the given error code.

main(): use_large_resources => use_resources
    Also, added support for long-option alternative to the short
    options.

_expectations: Added test_socket_ssl to the list of expectedly skipped
    tests.
Lib/test/regrtest.py