[New-bugs-announce] [issue45745] ./python -m test --help output for refleaks seems wrong

Skip Montanaro report at bugs.python.org
Sun Nov 7 16:39:17 EST 2021


New submission from Skip Montanaro <skip.montanaro at gmail.com>:

Just preparing to make a refleaks test run, so I ran:

./python -m test --help

The output related to refleaks seemed suspicious:

...
Special runs:
  -l, --findleaks       deprecated alias to --fail-env-changed
...
  --fail-env-changed    if a test file alters the environment, mark the test as failed

It's not obvious that "--fail-env-changed" has anything to do with "--findleaks". Does the -l/--findleaks message need to be corrected?

----------
components: Build
messages: 405916
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: ./python -m test --help output for refleaks seems wrong
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45745>
_______________________________________


More information about the New-bugs-announce mailing list